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's the difference between class and object?
Explain the difference between the system.array.copyto() and system.array.clone()?
Is c# a backend language?
What is the advantage of extension method in c#?
What is the purpose of namespace?
Why extension method is static?
What are the different types of assemblies available and their purpose?
Is std :: string null terminated?
What is c# windows form application?
What is dbml file in c#?
What does out mean c#?
What is difference between value and reference types in C#.NET
What is the use of tryparse in c#?
What is the purpose of namespace in c#?
What is the purpose of a namespace?