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 abstraction with example?

1168


class type to basic type conversion

2465


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2588


What are main features of oop?

1179


What is destructor oops?

1151


What is the fundamental idea of oop?

1188


What is the real time example of encapsulation?

1113


What are classes oop?

1086


What is static modifier?

1323


What does I oop mean?

1123


What are the benefits of oop?

1342


What are the 4 pillars of oop?

1201


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6991


What are functions in oop?

1119


What are the important components of cohesion?

1077