Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is singleton class? where it mainly used in the
projects?

Answer Posted / rameshkrishna

singleton means create the one and only object per class
that per jvm

---use to decrese globel variables
---to provide the encapsulation

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

2207


Which container method is used to cause a container to be laid out and redisplayed?

1096


Which class is the immediate superclass of the menucomponent class?

1160


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1789


Why do I get a duplicate name error when loading a jar file?

1088


Explain the steps in details to load the server object dynamically?

5066


what is meant by JRMP?

2279


Can I have an action without a form?

1061


What is the difference between the session.get() method and the session.load() method?

1051


What is bean? Where can it be used?

1080


Why are some of the class and element names counter-intuitive?

1073


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2951


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

2197


Why is string immutable in java?

1061


What do you mean by Socket Programming?

1038