What is the Singleton pattern? How do you implement it in Java?

Technical