What is a private constructor? where will you use it?
Answer Posted / dsr
private constructor access only that class. we can't access
in other class.we can use the private constructor in
singleton patteren.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between pass by value and pass by reference.
Can we maintain state in webservice?
What tool we have to use to install assembli in gac folder.
What standard types does c# use?
What is the purpose of abstract class in c#?
Which is better interface or abstract class in c#?
What is use of abstract class in c#?
What is ildasm.exe used for?
What is a race condition?
What is inner class in c#?
What are classes in c#?
What is the namespace for the thread class?
How to transpose multi-dimensional array?
What does return do in for loop?
What are the fundamental oop concepts?