0 votes
in JAVA by
Define Singleton Classes in Java.

1 Answer

0 votes
by

In Java, when you make the constructor of a class private, that particular class can generate only one object. This type of class is popularly known as a Singleton Class.

...