Domanda di colloquio di Oracle

singleton pattern

Risposta di colloquio

Anonimo

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