Pregunta de entrevista de Oracle

singleton pattern

Respuesta de la entrevista

Anónimo

21 may 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.