Pergunta de entrevista da empresa Dailymotion

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

Resposta da entrevista

Sigiloso

31 de jul. de 2015

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

1