All the example i see of Abstract factory Pattern They use an abstract class to give the Abstraction for factories.
Is it always required to use abstract class
?
Given the circumstances we can happily use Interface.
If we use interface does it going to violate the Design principle?
Example I was Reading
Aucun commentaire:
Enregistrer un commentaire