Thales interview question

How would you implement a singleton class in Java?