Pergunta de entrevista da empresa Oracle

singleton pattern

Resposta da entrevista

Sigiloso

21 de mai. de 2014

A pattern where the class has a private constructor, and getInstance method which creates an object just once, and subsequent calls return the reference to this object.