What criterion, or criteria, should be used to include objects of a class as data members of another class? In other words, what should we base our need to implement composition upon?
Please try to justify your choice of composition by using some concrete example.