Domanda di colloquio di Concentra

Where do we use private constructors

Risposta di colloquio

Anonimo

2 feb 2010

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