Pregunta de entrevista de Thales

How would you implement a singleton class in Java?