Structual Design Patterns
Structural Design Patterns explain how to assemble objects and classes into larger structures, while keeping these structures flexible and efficient.
1. Adapter
The Adapter design pattern is a structural pattern that allows the interface of an existing class to be used as another interface. It acts as a bridge between two incompatible interfaces, making them work together. This pattern involves a single class, known as the adapter, which is responsible for joining functionalities of independent or incompatible interfaces.