Please note; Factory, not Abstract Factory.
Say, there is an interface Shape with concrete classes like Pentagon. Let's say an abstract class Quadrilateral implements Shape and has its own concrete types like Square.
Is this still considered a Factory Method?
Aucun commentaire:
Enregistrer un commentaire