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

What is aop(assepct oriented programing)?

992


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

2189


Explain what is orm?

1066


Is the ternary operator written x : y ? Z or x ? Y : z ?

1049


Name the class that is used to bind the server object with RMI Registry?

2112


What is the difference between the session.update() method and the session.lock() method?

963


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1002


Which javutil classes and interfaces support event handling?

994


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2730


Do you think that java should have had pointers?

1004


What classes of exceptions may be caught by a catch clause?

974


How are commas used in the intialization and iteration parts of a for statement?

1049


How messaging services are done, before release of JMS?

2072


Can we sent objects using Sockets?

1083


What is a tasks priority and how is it used in scheduling?

998