Home > DeveloperSection > Interviews > What is singleton?

Posted on    February-10-2014 12:02 AM

 Java Java 
 1 Answer(s)
  867  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    February-10-2014 1:00 AM

It is one of the design pattern. This falls in the creational pattern of the design pattern. There will be only one instance for that entire JVM. You can achieve this by having the private constructor in the class.

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

Follow MindStick