dimanche 2 décembre 2018

Global access of object in Singleton class

what is the meaning of this statement in singleton pattern :

"Ensure a class has only one instance, and provide a global point of access to it."

I mean exactly what is the meaning of provide gloabal access to this one instance ?

Aucun commentaire:

Enregistrer un commentaire