Pergunta de entrevista da empresa HARMAN

Implement a singleton class in a thread safe manner.