Java Interview Questions
Friday, 15 March 2013
What is Singleton class?
What is Singleton class?
Singleton class is a class whose only one object can be created at a time. - To achieve this one method is that we make its constructor
private
and provide a static method that returns its instance.
Vijay Kumar
Newer Posts
Home
Subscribe to:
Posts (Atom)