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 / santosh

Polymorphism is one of the important feature of OOP's. It
consist of 2 words i.e., 'Poly' which stands for many
and 'Morphism' stands for forms.

We can divide the polymorphism into 2 types.
1. Static polymorphism
2. Dynamic polymorphism

Static polymorphism:- In this the binding is taken place in
compile time. The different types of static polymorphism
are:-
a) Function Overloading
b) Operator Overloading

Dynamic polymorphism:- In this the binding that takes place
at run-time. The difference types of dynamic polymorphism
are:-
a) Virtual function
b) Abstract class

Is This Answer Correct ?    272 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you overcome the diamond problem in inheritance?

1147


What is the difference between abstraction and polymorphism?

1068


Is html an oop?

1018


What is debug class?what is trace class? What differences are between them? With examples.

2148


What is methods in oop?

943


what type of question are asked in thoughtworks pair programming round ?

2161


What is data binding in oops?

1048


What is the real life example of polymorphism?

1129


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2162


Why interface is used?

975


How oops is better than procedural?

1049


What is difference between pop and oop?

1099


Explain the advantages of inheritance.

1101


Can enum be null?

972


What is overloading in oop?

972