According to Design Pattern by Gang of Four, a singleton class can have a subclass.
Must a subclass of a singleton class be a singleton class?
Can a singleton class have any number of subclasses?
Thanks.
Aucun commentaire:
Enregistrer un commentaire