Answer Posted / kousik
Main Advantage of Cons:
1)Object Initialization
2)Class don't have Private access specifier through use of private constructor avoid inheritance.
3)Types:a)static b)Instance
a)--Default automatically crates and no arguments are not supplied.
b)-Same name of class but we have n no of arguments.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What are handlers in c#?
What is int64 in c#?
What is the difference between namespace and class?
Define property in c#.net?
Why we use delegates in c#?
Why do we need constructor?
Does c# provide copy constructor?
Which attribute is used in order that the method can be used as webservice?
What are controls in c#?
Explain About multi level and multiple inheritance how to achieve in .net
What are the types of operator?
What is access specifier in c#?
What is the difference between static and private constructor in c#?
What are the 3 different types of arrays?
What is enum in c#?