Answer Posted / saurabh
Suppose, you have class A, which implements a method Show().
This class is now Inherited by Class B and Class C.
Now both B,C will have Show available to them or may be they
have overridden the functionality of Show() defined by Class
A. So far this is fine.
Now If I have Class D inheriting from Class B and Class C.
Which Show() method will class D be using? How many
implementations of Show will be available there for class D?
This is the problem.
| Is This Answer Correct ? | 55 Yes | 11 No |
Post New Answer View All Answers
What is c sharp used for?
What is the major difference between a custom control and user control?
What is autopostback in c#?
Can you pass parameters to destructors?
What is difference between an reference type and value type in C#?
How does insertion sort work?
What does string format do?
What is console readkey in vb net?
What is data set in c#?
Explain the difference between proc. Sent by val and by sub?
What is difference between assembly and namespace?
How many constructors can a class have c#?
What is .cshtml file?
Can we override interface methods in c#?
What does question mark mean in c#?