Adapter pattern is very useful when you want to use the methods/implementation that one particular class provides whose interface is incompatible with the current target interface. Adapter pattern provides one main feature:
- It lets classes work together whose interfaces are incompatible by implementing an adapter class.
Lets consider we have 2 classes that implement their own […]

continue reading.....