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?

Answer Posted / kananatha kowsik.r

Polymorphism is a greek word.'Poly' means many.'Morphism'
means programs.'Polymorphism' many programs.That means by
calling many forms or many programs using one interface.By
using polymorphism we can achieve overloading and overriding.

Types of polymorphism.

1.Compile time polymorphism or late bind polymorphism
2.Run time polymorphism or early bind polymorphism or
dynamic polymorphism.

1.Compile time polymorphism:

The polymorphism which is created at compile time or
late bind is called compile time polymorphism.

Example: Function overloading, Operator overloading.

2.Runt time polymorphism:

The polymorphism which is created at run time or late
bind or dynamically is called run time polymorphism.

Example: Abstract class, Virtual function.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of operator overloading?

1271


What is the difference between a declaration and a definition?

1170


what are the decision making statements in C++? Explain if statement with an example?

1144


What is #include ctype h in c++?

1220


Why can templates only be implemented in the header file?

1142


What is c++ manipulator?

1027


What causes a runtime error c++?

1195


What is the copy-and-swap idiom?

1168


If I is an integer variable, which is faster ++i or i++?

1130


Does dev c++ support c++ 11?

1086


What is #include iostream in c++?

1109


What is a friend function in c++?

1775


What does h mean in maths?

1299


What is the use of data hiding?

1066


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

1106