Pregunta de entrevista de Dailymotion

Can we have a private constructor in Java and why do we want to do that?

Respuesta de la entrevista

Anónimo

31 jul 2015

Yes. There are different uses of this. One such use is for the singleton design anti-pattern.

1