Adapter Design Pattern comes under the Structural Design Pattern, according this design pattern two incompatible classes working together that couldn’t otherwise because of incompatible interfaces. This pattern works as a bridge between two incompatible interfaces. Adapter Design Pattern According to the Gang of Four: Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. This pattern is used when the interfaces are incompatible and functionality need to be integrated these incompatible interfaces to each other with making any change in the existing source code. There are many
The post Adapter Design Pattern – Structural Patterns appeared first on Dinesh on Java.