Composition Design Pattern

Definition The intent of this pattern is to compose objects into tree structures to represent part-whole hierarchies.Composite lets clients treat individual objects and compositions of objects uniformly. Composition design pattern’s uml diagram our hierarchies implementation to composition design pattern Class Diagram See you next post