What is polymorphism? pl explain practically rather than
theoretical?
Answer Posted / mayur teli
Polymorphism is the ability of different classes to provide different implementation of the same public interfaces.
For Example: a Driver object can interact with Car object through a Car public interface. If another object such as Truck object or SportCar object, expose the same interface, the Driver object can interact with them without regard to specific implementation of that interface.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is overloading in c#?
What's the difference between a static method and a non static method c#?
What are examples of desktop applications?
How to exclude a property from xml serialization?
Why do we parse in c#?
Can we override interface methods in c#?
What is gui in c#?
Explain use of abstract and sealed classes in c#?
What is the difference between abstract class and interface in c#?
Can we inherit abstract class in c#?
What is object pool in .net?
What are Memory foot print of an exe?
What are c# collections?
What is a delegate in c#?
Why is it called c sharp?