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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of Treeview control?

1049


Explain different pipelining hazards? : Dot net architecture

1038


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

1029


Why the config file might not be writable

1203


Explain how does .net mobile work? : Microsoft dot net mobile

906


What are the main Tools to develop .Net Application?

1007


how to make and display a form without title bar?

1992


Explain some of the disadvantages due to microsoft.net?

1032


Explain pipelining? : .NET Architecture

1011


What is Video Streaming in .net??

1023


How does .net remoting work?

1146


What is an interrupt? : .NET Architecture

942


What is IL code, CLR, CTS, GAC & GC?

1080


Can you explain server controls in atlas?

1037


What are bindings?

1050