Pergunta de entrevista da empresa NiCE

How to make singleton class thread safe and its implementation