Pergunta de entrevista da empresa Thales

How would you implement a singleton class in Java?