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
What is remote data?
What does void mean in c#?
Explain the serialization in .net
List down the access modifiers available in c#?
What is uint16?
What is the difference between as and is operators in c#?
What can I create with c#?
What are PE(Portable Executable)?
What is attribute and reflection in c#?
Is c# queue thread safe?
Which is faster array or arraylist in c#?
What is session management in c#?
Define strong name in c#?
What's the difference between the debug class and trace class? Documentation looks the same.
Explain the process of inheriting a class into another class?