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

Explain the purpose of cache? How is it used? : .NET Architecture

0 Answers  


3. Should validation (did the user enter a real date) occur server-side or client-side? Why?

4 Answers  


How resource files are used in .net?

0 Answers  


How can I write my own .NET host?

0 Answers   HCL,


I can't be bothered with cas. Can I turn it off?

0 Answers  


Explain pipelining? : .NET Architecture

0 Answers  


Explain <mobile:link> element .net mobile with example? : Microsoft dot net mobile

0 Answers  


Is dim fs as filestreamobject is a managed code? : Dot net architecture

0 Answers  


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.

0 Answers  


what is the use of SQL command builder class in C#.net? Explain how can we execute a stored procedure using C#.Net? What is the difference between .DLL and .EXE?

2 Answers  


what is authentication and authorization?how do they differ?

5 Answers   Six Sigma,


What is the purpose of Accordian in jquery? Where it can be used?

0 Answers  


Categories