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.
Answer Posted / ravi
Please refer the concept of singleton in design pattren.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
Is dim fs as filestreamobject is a managed code? : Dot net architecture
What is the difference between primary & secondary storage device? : Dot net architecture
how to use custom field validation
What is different about namespace declaration when comparing that to package declaration in java?
Explain a .net mobile example with details? : Microsoft dot net mobile
What is .net viewstate?
Explain 'managed' mean in the .NET context
Explain the five stages in a dlx pipeline? : Dot net architecture
Explain COM with example?
deference between display and visibility property of CSS
Explain hard disk and what is its purpose? : .NET Architecture
What is an interrupt? : Dot net architecture
What is the cli? Is it the same as the clr?
Difference between throw exception and rethrowing ?
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure on hardware that converts the ascii value to binary? : .NET Architecture