Question d’entretien chez Infosys

what is singleton class and implement that with java