Home > DeveloperSection > Interviews > What is Singleton class in Java ?

Posted on    July-04-2015 12:42 AM

 Java Java 
Ratings:
 1 Answer(s)
  424  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    July-04-2015 12:42 AM

Singleton class is used to control no of object created for a class, limiting the number to one. But if the situation changes in future, it allows to create more objects without affecting existing clients.

Don't want to miss updates? Please click the below button!

Follow MindStick