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.
Liked By
Write Answer
What is singleton?
Join MindStick Community
You have need login or register for voting of answers or question.
Sumit Kesarwani
10-Feb-2014It 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.