Pergunta de entrevista da empresa GlobalLogic

singleton class and how to prevent from multi threading and cloning