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 can i create only one instance of class and thus doesn't
allow creating any more instances?



How can i create only one instance of class and thus doesn't allow creating any more instances..

Answer / prayag thakkar

If a system only needs one instance of a class, and that
instance needs to be accessible in many different parts of
a system, you control both instantiation and access by
making that class a singleton.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

State and explain about microsoft.net?

0 Answers  


Explain cache? : Dot net architecture

0 Answers  


There are so many languages are already existing for developing application.Then what is the need of .net.

1 Answers  


What are .net mobile controls features? : Microsoft dot net mobile

0 Answers  


What is .net mobile automatic paging? : Microsoft dot net mobile

0 Answers  


What are the different pipelining hazards? : Dot net architecture

0 Answers  


How to send e-mail to gmail/yahoo or any other ID from your mail server.I need the code.

1 Answers  


Which software is used for .net programming?

0 Answers  


What is the difference between an event and a delegate?

0 Answers  


What is the purpose of hard disk? : Dot net architecture

0 Answers  


Explain the use of virtual, sealed, override, and abstract.

0 Answers  


What is an interrupt? : Dot net architecture

0 Answers  


Categories