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 implicit name of the parameter that gets passed into the set method/property of a class?
How can encapsulation be achieved?
What's the difference between abstraction and encapsulation?
Is it good to use var in c#?
What is stringwriter c#?
Is multiple inheritance possible in c#?
What is check/uncheck?
What is difference between events and delegates?
How do you name a variable in c#?
What do you understand by an Implicit Variable?
Enlist the different types of classes in c#?
Give examples for reference types?
Why main is static in c#?
Why do we need singleton class in c#?
How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!