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 Dynamic Polymorphism?

Answer Posted / karthikeyan srinivasan

Polymorphism : Same function name but with different behaviors
Related Concepts : functional overriding and functional
overloading

Dynamic Polymorphism(Run time polymorphism) :
The decision of selecting which function has to be run
in run time is dynamic polymorphism
Ex:
class A {
function write() {
// Base class write method
}
}
class B extends A {
function write() {
// Derived class method
}
}
Called dynamic binding.

Compile time polymorphism:

Functional overloading is compile time polymorphism.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How oops is better than procedural?

1150


What do you mean by overloading?

1131


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

2175


Plese get me a perfect C++ program for railway/airway reservation with all details.

3957


What is inheritance and how many types of inheritance?

1158


what are the different types of qualifier in java?

2321


Why multiple inheritance is not possible?

1122


What are constructors in oop?

1285


What is abstraction in oop with example?

1193


What is destructor example?

1118


Why do we use oop?

1171


What is abstraction oop?

1149


How to hide the base class functionality in Inheritance?

1190


What is and I oop mean?

1280


What is constructor overloading in oop?

1182