jeudi 28 septembre 2017

must a subclass of a singleton class be a singleton class?

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