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 a static class in c#?
How do I run managed code in a process?
What is an assembly loader?
What is the purpose of namespace in c#?
Can an int be negative c#?
What is predicate builder?
Can you instantiate an abstract class c#?
Can a abstract class have a constructor?
What is the difference between console and windows application?
Are attributes inherited c#?
Why dictionary is used in c#?
What are destructors in C#?
What is data adapter in c#?
What is a trace and asset? Explain some differences?
what is main function of alternate teamplate of datalist?