Key Concept for applying the Composite Pattern:

  1. Allows you to represent composite objects in the form of a hierarchy

  2. It uses independent interfaces for representing individual and composite objects

  3. It uses an individual object that is composed of two or more composite objects

  4. It represents just a collection of different objects


Correct Option: A

Find more quizzes: