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


Please Help Members By Posting Answers For Below Questions

What does out mean in c#?

708


How to prevent the error while updating ui control from another thread?

702


Explain the difference between Response.Write () and Response.Output.Write ().

714


Can you inherit multiple abstract classes in c#?

705


What is state c#?

618


What is private virtual in C#?

771


Can I call a virtual method from a constructor/destructor?

665


What are callback methods in c#?

687


What is the difference between array and list in c#?

657


What is predicate c#?

722


What is window application in c#?

700


What is meaning of type safety in c#?

641


What is remote data?

632


What are Types of assemblies that can be created in dotnet

770


Can we inherit abstract class in c#?

700