Oracle Interview Question

singleton pattern

Interview Answer

Anonymous

May 21, 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.