What is Singleton class

Showing Answers 1 - 4 of 4 Answers

phani praedep

  • Jul 4th, 2005
 

A singleton is a class for which only one instance can exist within a program. In other words, only one, single object of that particular class can be created in a program.

  Was this answer useful?  Yes

tanuja

  • Aug 9th, 2005
 

A singleton class is one which is having a single object.It is mainly used for the management purpose such as database connection.

  Was this answer useful?  Yes

Pankaj

  • Sep 27th, 2005
 

Java wrappers are classes that wrap up primitive values in classes that offer utility methods to manipulate the values. If for example you want to store a set of int values in the elements of a Vector, the values in a Vector must be objects and not primitives. When you want to retrieve the values wrapped up in the Integers that are in the Vector elements you will need to cast the elements back to Integers

Pankaj

  Was this answer useful?  Yes

Leena Herwadkar

  • Mar 30th, 2006
 

i want to know details of singleton class with example

  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