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
What are the three types of predicates?
What are jump statements in c#?
Can a class be protected in c#?
What is desktop example?
What is meant by unicode characters?
What is lock statement in C#?
Can properties be overloaded in c#?
Why ienumerable is used in c#?
Explain the role of the datareader class in ado.net connections?
Can we have static indexer in c#?
What is the difference between “dispose” and “finalize” variables in c#?
How many destructors can a class have?
Explain the difference between a struct and a class?
How string definitions will prevent escaping on backslashes in C#?
What is the do while loop code?