dimanche 22 octobre 2017

How singleton is different from static factory methods?

I want to know if both singleton and static factory method create only one instance then why there are two concepts for same purpose?

Aucun commentaire:

Enregistrer un commentaire