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

how can u manage sessions ?

3 Answers   Ness Technologies,


What happens to the winfx technologies?

0 Answers  


HI THIS IS THIRUMAL. I AM COMPLETED MY MCA IN 2009 WITH 64%. NOW I AM LOOKING FOR A JOB(FRESHER)IN HYDERABAD.PLEASE IF YOU FIND ANY OPENINGS IN ANY COMPANY SEND IT TO MY MAIL ID PLEASE.. SKILL SET : C,C++,C#.NET,ASP.NET,ADO.NET,SQL SERVER, SSIS,SSRS EMAIL ID : THIRU104@GMAIL.COM THANKS & REGARDS D.THIRUMAL

1 Answers  


6. Wcf- what is SOA

0 Answers   PCS,


Describe the Managed Execution Process in .NET?

0 Answers   InfoAxon Technologies,


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

1 Answers  


Can you explain update progress control?

0 Answers  


Explain what does the term "green architecture" mean? : .NET Architecture

0 Answers  


What is cache coherency? : Dot net architecture

0 Answers  


11. diff b/w Dll and Exe

6 Answers   PCS,


When should you use Abstract Class vs Interface while programming? Give 1 Example

3 Answers   CSS Corp, Hexaware, T3 Softwares,


What's the difference between an application and a program?

0 Answers  


Categories