What is singleton class in java?
What is a singleton class used for?