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
Does google use c#?
What is the difference between ref & out parameters in c#?
Where is c# compiler located?
Are tuples immutable c#?
Can you use foreach iteration on arrays in c#?
Can properties be overloaded in c#?
How more than one version of an assembly can keep in same place?
What is predicate builder?
To allow an element to be accessed using a unique key which .NET collection class is used ?
What is data type c#?
What is expression tree in c#?
Define c# i/o classes?
Is datetime immutable c#?
What is lazy class in c#?
What happens during the process of boxing?