What is the use of the singleton class?
What is singleton class in java?