mardi 15 janvier 2019

How to determine the abstract class and implementation class interface in bridge pattern?

In the process of learning the bridge pattern, I encountered a problem:How to determine the abstract part and the implementation part ?

I know that a class needs to be decoupled by bridging pattern if it has two independent changing dimensions, but I don't know which of these two dimensions is abstract and which is implementation.

I hope my doubts can be solved here. Thanks!!!

Aucun commentaire:

Enregistrer un commentaire