Goldman Sachs interview question

Java OOP concepts, singleton pattern and when is it useful