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. How to restrict a class from allowing to create only one object. I.e., one should be allowed to ..

Answer / ravi

Please refer the concept of singleton in design pattren.

Is This Answer Correct ?    15 Yes 2 No

Post New Answer

More Dot Net AllOther Interview Questions

Does application frame need host?

0 Answers  


how to create applications by using Visual Studio 2012?

0 Answers   TryTechnicals Pvt Ltd,


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  


Navigation controls in ASP.net,explain each control in brief?

2 Answers   Six Sigma,


What is the difference between SAX Parser and DOM Parser?

2 Answers   QBit Systems, TCS,


Explain the difference between state server and sqlserver : Dot net architecture

0 Answers  


What is the importance of updatepanel control?

0 Answers  


what is inheritancy where u required ?

0 Answers  


What is code access security (cas)?

0 Answers  


Explain dma? : .NET Architecture

0 Answers  


Which tool you will use to deploy a windows service

1 Answers   Fulcrum Logic,


How do I know when my thread pool work item has completed?

0 Answers  


Categories