Pergunta de entrevista da empresa Deloitte

what is singleton class and how to implement?