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
Which one is trusted and which one is untrusted?
Who introduced c#?
What is marshalling in c#?
How does the lifecycle of Windows services differ from Standard EXE?
What is stringbuilder c#?
Explain get and set accessor properties?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What is the difference between == and object.equals?
Explain About Global.asax
Are c# tuples immutable?
What is lambda expression in c#?
If I want to override a method one of class A and in class b then how do you declare?
Which sorting algorithm is best?
What is verbatim string literal in c#?
How can I make sure my c# classes will interoperate with other .net languages?