SP are related to the structure in which objects are composed. These patterns usually relate to how two or more objects are composed to build larger structures. There are no fixed rules for this composition, and this would depend on the individual system's requirements.
• Advantages:
– These patterns allow us to build large scale systems that comprise of smaller systems, and allow you to build loosely coupled systems.
– Further, smaller grained objects avoid a massive ripple effect that a change could cause in a very tightly coupled system.
– The Composite pattern and the Proxy pattern are very common structural patterns.
Structural Pattern is divided in following sub groups:
o Adapter
o Bridge
o Composite
o Decorator
o Façade
o Flyweight
o Proxy