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 are the Differences Between Collection and Collections in Ja ...

What is Externalizable Interface in Java ?

When is UnsupportedOperationException Thrown in Java ?

What are the Differences Between Comparable and Comparator in Jav ...

What are the Different Scopes of a JSP Object ?