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 about microsoft visual studio?

0 Answers  


How do I prevent concurrent access to my data?

0 Answers  


can any one urls for learning .net(which is written in simple english)

1 Answers  


Explain the five stages in a dlx pipeline? : .NET Architecture

0 Answers  


wild card character in sql ?

2 Answers  


What is the difference between abstract class and Interface? Give an example how will u write an abstract class using .NET Framework

4 Answers   T3 Softwares,


1. How to restrict a class from allowing to create only one object. I.e., one should be allowed to create only one object of the class type.

1 Answers   247Customer, FinEngine, TCS,


What is a virtual memory? : Dot net architecture

0 Answers  


What is textview control of .net mobile? : Microsoft dot net mobile

0 Answers  


What is application frame host?

0 Answers  


How to delete the duplicate records in a table using sql server

4 Answers  


what are login controls?

0 Answers   Six Sigma,


Categories