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 the difference between and xml documentation tag?
Name some properties of array.
When should I throw an exception?
Illustrate the process of code compilation in c#?
What is the difference between interface and abstract class in c#?
What is parameters in c#?
What do you mean by string objects are immutable?
Is c# good for beginners?
What language do desktop applications use?
What is private readonly in c#?
What is string interpolation in c#?
What is a hash table in c#?
Explain the process of abstraction with an example?
Can I use exceptions in c#?
Why are strings immutable in c#?