Answer Posted / satya
let me explain clearly,,,, suppose there is a class called
A(base class)and it has a method Print(). now I am
implementing heirarchical inheritance and derived classes
are B, C and D. now in three derived classes that print() is
there. now the problem is form which class (from derived
classes for first class A) i have to take print() ?
If signature is same then no problem, if it differs what is
the result?
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is clr in c#?
Why do we use readonly in c#?
How many types of variables are there in c#?
Can fields inside a class be virtual?
Can constructor be private c#?
What is alias in c#?
What is the difference between add and addrange in c#?
Name some string escape sequences in c#.
How do I stop my console from closing in c#?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
Is string immutable in c#?
What are primitive data types in c#?
How does the lifecycle of Windows services differ from Standard EXE?
What is activator c#?
Can you explicitly call a destructor?