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?

Answers were Sorted based on User's Feedback



What is Dynamic Polymorphism?..

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

What is Dynamic Polymorphism?..

Answer / atul gaikwad

This polymorphism is also called as late binding.
Dynamic polymorphism can be achieved by using function overriding.
eg.for addition of numbers if we write function as
void add Numbers(int,int);
And this function is written in base class as well as derived class as it is then satisfies the function over-riding concept.

Is This Answer Correct ?    0 Yes 0 No

What is Dynamic Polymorphism?..

Answer / abinash mohanty

Out of multiple functions which function is going to be
executed,that is decided at the run time. This concept is known as dynamic polymorphism

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

Why do pointers exist?

0 Answers  


what is data hiding.

3 Answers   Wipro,


what is the sylabus for priliminaries?

0 Answers  


What is encapsulation example?

0 Answers  


Why a "operator=(...)" when there is a copy ctor?

2 Answers  


What is polymorphism and why is it important?

0 Answers  


What is the significance of classes in oop?

0 Answers  


can you give the dynamic polymorphism types?

2 Answers   Wipro,


In multilevel inheritance constructors will be executed from the .... class to ... class

2 Answers   ABCO, TCS,


What are oops functions?

0 Answers  


what are abstract classes and how they impliment , with example

2 Answers  


Which is better struts or spring?

0 Answers  


Categories