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
Can you inherit from multiple classes in c#?
How to install or uninstall a windows service?
What will a loop recorder show?
What is code verification?
What are the different ways of method can be overloaded?
How many bytes is an int c#?
What does dbml mean in texting?
Why we use get set in c#?
Is predicate a functional interface?
What is ildasm and obfuscator in net?
What are events in C#?
What do you mean by winforms in c#?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
What is constants in c#?
What is command object in c#?