What is polymorphism? pl explain practically rather than
theoretical?

Answer Posted / mukesh

Polymorphism - Poly means "many" So it is one name and many forms. In C# we have two types of polymorphism compile time and run time. Compile time polymorphism is achieved through Function Overloading ( Same function but different parameters or signatures) and Run time polymorphism is achieved through function Overriding also called shadowing in VB.net where a child class method overrides the base class function.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about c# language.

598


What are primitive types in c#?

531


What are extender provider components?

473


What is the difference between select and selectmany?

432


What is window application in c#?

494






Why do we need static class in c#?

572


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

520


What is a int in c#?

457


Why is it not a good idea to use empty destructors?

544


Which namespace is required to implement trace ?

547


How do you pass reference parameters in c#?

448


What is the difference between dynamic and var in c#?

461


Are c# tuples immutable?

511


Is as operator in c#?

467


How to rotate an Image in C#?

578