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 application frame host?

1089


Can I create my own permission set?

1044


Explain the purpose of cache? : Dot net architecture

911


Define an interrupt? : Dot net architecture

976


What happens to the winfx technologies?

1010


What are the types of memory management? : Dot net architecture

888


Explain hard disk? : Dot net architecture

998


What is .net viewstate?

918


What is an interrupt? : Dot net architecture

960


Can you explain control extenders?

967


difference between data reader and dataset

2236


I want to create a project like google maps how can we do that with atlas?

946


Describe the Managed Execution Process in .NET?

966


What is the use of CLR in .NET?

1035


What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile

934