Guidewire interview question

What is Singleton class. How to implement