lundi 25 novembre 2019

Adapter Pattern Application

GOF has the following point for application of Adapter pattern:

you need to use several existing subclasses, but it's impractical to adapt their interface by subclassing every one. An object adapter can adapt the interface of its parent class

What does it mean? Please give an example of the scenario? (Code is not required)

Thanks

Aucun commentaire:

Enregistrer un commentaire