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

What is .net mobile input validation. : Microsoft dot net mobile

0 Answers  


Explain about httpruntime.cach.get(); method?

0 Answers   Tech Mahindra,


what is diffrent beatween localprinter and networkprinter

0 Answers  


What is .net mobile input validation. Explain with an example? : Microsoft dot net mobile

0 Answers  


Explain about common language infrastructure?

0 Answers  






Why the config file might not be writable

0 Answers  


Explain a .net mobile example with details? : Microsoft dot net mobile

0 Answers  


What is the purpose of Treeview control?

0 Answers   CGI,


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 the difference between asp and asp.net

1 Answers   Six Sigma,


what are constructors and destructors

1 Answers   Six Sigma,


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

0 Answers  


Categories