1.all and whole both have the meaning of "whole" and "all". Generally speaking, all can modify various nouns, and the determiner should be placed after all. Whole can only modify singular nouns with overall meaning, and the determiner must be placed before whole. (1) all the money/ all the time/ all the country/all the students/ all my life/ all my books (2) a whole roast duck/ the whole class/the whole city/the whole nation/my whole life 2 Generally speaking, whole cannot modify plural countable nouns, but if there is a specific quantifier before the plural countable noun, whole can be used. (3) three whole days / all three days 3. Both all and whole can be used to modify proper nouns, but when using whole to modify proper nouns, of must be used. (3) the whole of China/ all China (4) the whole of Chinese history/all Chinese history 4. When all is used independently, in a sentence, it can be used as subject, object and appositive. When whole is used independently, it can be used as a complement in a sentence.
(5) All are present. (6) I have finished all today. (7) They are all teachers. (8) I like them all. (9) The man ate an egg whole. (10) Roast ducks are ducks that roasted whole