What is a private constructor? where will you use it?
Answer Posted / sri
we can declare the constructor private ,it is called
private constructor.
| Is This Answer Correct ? | 3 Yes | 15 No |
Post New Answer View All Answers
Are cao stateful in nature?
What is private class in c#?
What is a lambda expression in c#?
Is datetime a value type in c#?
Why is dll used?
My switch statement works differently! Why?
What is difference between string and stringbuilder in c#?
What is difference between write and writeline in c#?
Why do we need delegates in c#?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
What is expression tree in c#?
Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?
What are the different approaches of passing parameters to a method?
Is int a struct in c#?
If the original method is not static you can declare an override method to be static or not?