What is singleton class ?

What is singleton class ?

The Singleton is a Design Pattern for allowing onlyone instance of your class. 

The Singleton's mainpurpose is to control object creation upto one.

It is good for threading problems, because we are surethat there is only one instance of the class.

By:Jalees
Date:2012-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher