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

Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile

0 Answers  


What is the use of TPL DATAFLOW?

0 Answers   MCN Solutions,


what is sessions and cookies take one example simple way to understand

0 Answers  


Explain about the base class library provided by microsoft.net?

0 Answers  


Define a managed code? : Dot net architecture

0 Answers  






What is the difference between machine config vs. Web config : Dot net architecture

0 Answers  


Explain 'managed' mean in the .NET context

0 Answers   HCL,


What are the five stages in a dlx pipeline? : Dot net architecture

0 Answers  


What is the difference between SAX Parser and DOM Parser?

2 Answers   QBit Systems, TCS,


What is an asssembly qualified name? Is it a filename? How is it different?

0 Answers  


Explain the five stages in a dlx pipeline? : Dot net architecture

0 Answers  


What should one do to make class serializable?

1 Answers  


Categories