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
Why do we need collections in c#?
Is null or empty in c#?
What is a race condition?
Does c# support templates?
Explain About Global.asax
Explain About CLS?
What is concrete class in c# with example?
What are the access modifiers in c#?
Can dictionary have duplicate keys c#?
What are the different types of literals in c#?
Is there a way of specifying which block or loop to break out of when working with nested loops?
What is the difference between list and dictionary in c#?
Explain About Web.config
What is polymorphism c# example?
Why do we use lambda expression in c#?