Composite Pattern

Composite Pattern is one of the structural design pattern In this pattern, we will have a tree structure hierarchy of classes and common operation will be performed on each class in the hierarchy. Node in the hierarchy is a class which will have children Node class is also called as “Composite” class Leaf in the […]

Share this article on