Question d’entretien chez Concentra

Where do we use private constructors

Réponse à la question d'entretien

Utilisateur anonyme

2 févr. 2010

Private ctor achieves two purposes: 1. to prevent other program from instantiating any instance of the current class 2. to prevent inheritance