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...

How many objects are created for a singleton class

Answer Posted / sivadasan

Singleton class allows to create only one instance of the
class. But the other objects can inherit from it. Singleton
is a Design Pattern to restrict create more than one
instance of a class.

And

1. It ensures only one object created for a class
2. Provides global point of access.

Mostly it is used to create DB connections.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does my function print none?

912


What is string and its types?

1099


Can we declare a static variable inside a method?

959


Why is static used?

987


What is the difference between a constructor and a method?

1171


What are the types of collections in java?

1009


What is the same as procedures?

936


enlist some features of jdk.

912


Does java arraylist maintain insertion order?

946


What is the role of the java.rmi.naming class?

1007


Explain static nested classes ?

1054


How to reverse a string in java?

1009


What is application system?

901


Why does java have two ways to create child threads?

911


How do you empty a list in java?

929