Question d’entretien chez BluePi

Can constructor can be private? If yes when?

Réponse à la question d'entretien

Utilisateur anonyme

25 août 2018

Yes, the constructor can be private in case the class is Singleton.