Question : In Factory Pattern has difference Sub Class(Circle, Square, Rectangle), which have difference function, like (print(), put(), push()), How to design that Super Class(Shape) can access these function? enter image description here
enter link description here
Aucun commentaire:
Enregistrer un commentaire