What is a Singleton Class in Java ?

A Singleton class in Java has maximum one instance of the class present in JVM, all the time. The constructor of this class is written in such a way that it never creates more than one object of same class.



You May Interest

What is Information Hiding in Java ?

What are the Situations in Which You Choose HashSet or TreeSet in ...

What is Hash Collision in Java ?

What is a WeakHashMap in Java ?

What are the Lifecycle Methods of a JSP ?