What is a singleton class ?

Showing Answers 1 - 3 of 3 Answers

Ranjit

  • Apr 25th, 2005
 

SingleTon class-Server Object Instantiated for responding number of clients 
 

  Was this answer useful?  Yes

Marimuthu

  • Jun 2nd, 2007
 

The Singleton is a useful Design Pattern for allowing only one instance of your class

The Singleton's purpose is to control object creation, limiting the number to one but allowing the flexibility to create more objects if the situation changes. Since there is only one Singleton instance, any instance fields of a Singleton will occur only once per class, just like static fields.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions