Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why hashtable is thread safe in c#?

934


What are examples of desktop applications?

900


What is the base class in .net from which all the classes are derived from?

892


What is a race condition?

831


How many types of constructors are available in c#?

995


What is the role of the datareader class in ado.net connections?

852


What is a static property. Give an example?

888


In which order the constructor is called for an inherited class?

962


Is array immutable in c#?

835


What is the max value of int32 in c#?

861


Explain the advantage of using system.text.stringbuilder over system.string?

839


What is strongly typed view?

834


Define encapsulation?

1038


What is difference between sleep () and wait ()?

873


Can a class be protected in c#?

853