lundi 11 mars 2019

Trying to understand the bridge pattern

I am trying to read design patterns and currently going thru Bridge Pattern.

It states that

Decouple the functional abstraction from the implementation so that the two can vary independently

I was going thru this example on this link : https://www.journaldev.com/1491/bridge-design-pattern-java enter image description here

Could somebody explain me how this example to this bold statement?

Thanks a lot.

Aucun commentaire:

Enregistrer un commentaire