
Structural – Composite Design Pattern
Composite is a Structural Design Pattern that is used when two child classes have a common parent class and one of those 2 classes can contain the other class and itself inside the class. For example, let’s take “a file” and “a folder”. Both are data. Therefore “Data” is the parent class. But “a folder” […]
August 3, 2020










