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 is the difference between final finally and finalize in c#?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
Where do I put dll files?
What is default constructor in c#?
What is append in c#?
What is generic in c#?
What is delegates and events?
Why do we need a singleton class?
What is the difference between finalize() and dispose() methods?
How does return work in c#?
What is jagged array in c#?
What are data types with examples?
Explain about c# language.
Why delegate is used in c#?
What is difference between string and stringbuffer in c#?