Domanda di colloquio di Infosys

what is singleton class and implement that with java