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? Explain with an example.

Answer Posted / ujjawal ranjan

Polymorphism is a characteristics of OOPS(Object Oriented Programming Language) through which method/function for any class of objects can be called by the same name and each responses according to their type-specific behavior .
The main benefit of polymorphism is that it simplifies the programming interface. It permits conventions to be established that can be reused in class after class.
Instead of inventing a new name for each new function you add to a program the same names can be reused.
It helps in understanding an interface.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops in simple words?

1101


Why is polymorphism used?

1040


How many human genes are polymorphic?

1067


What is a function in oop?

1086


What is encapsulation c#?

1080


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2198


What is difference between multiple inheritance and multilevel inheritance?

1150


How do you define a class in oop?

1126


Why do we need polymorphism in c#?

1170


What are the advantages of polymorphism?

1033


What is polymorphism give a real life example?

1038


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1997


Can abstract class have normal methods?

1050


explain sub-type and sub class? atleast u have differ it into 4 points?

2317


What is the significance of classes in oop?

1159