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
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment