What is Dynamic Polymorphism?
Answers were Sorted based on User's Feedback
Answer / manish kumar
dynamic polymorphism is run time polymorphism.it is
implemented through virtual functions
| Is This Answer Correct ? | 101 Yes | 15 No |
Answer / srinivas
in hirarchie, when sub class overrides the super class
metthod
then we call that method using the super class reference
then which version of method is called is resolved at run
time based on the object that the reference refers to is
called dynamic polymorphisum or dynamic binding.and also
called run time polymorphisum
| Is This Answer Correct ? | 68 Yes | 7 No |
Answer / d n gavade
There are two type of polymorphism i.e.
static(compiplation time) and
Dynamic Polymorphism(Run Time).
In case of Static,
derived class,Base class have same funcion name,the base
class function will be called.
In Case of Dynamic Polymorphism,we can use virtual keyword
in base class function and passing reference of derived
class to the base class pointer, we can call the derived
class function which is override.
| Is This Answer Correct ? | 30 Yes | 2 No |
Answer / amit upadhyay
In Dynamic Polymorphism memory allocation will be at the
run time for that perticular method which is implemented
as polymorphism.
| Is This Answer Correct ? | 27 Yes | 7 No |
Answer / irfan
there are two type polymorphism use in c++ first is static
and second is dynamic static polymorphism is function
overloading oprater overloading & dynamic is virtual function.
| Is This Answer Correct ? | 27 Yes | 10 No |
Answer / srujana
If binding is resolved at compilation time then it is said
to be static polymorphism.
If binding is resolved at reun time then it is said to be
dynamic polymorphism. to implement dynamic polymorphism,
pointers and virtual functions are used.
| Is This Answer Correct ? | 22 Yes | 5 No |
Answer / abdullah
By using base class pointer memory to define derive class
is class dynmic polymorphism
| Is This Answer Correct ? | 12 Yes | 5 No |
Answer / mohit singh
polymorphism is a very strong feature of java.dynamic
polymorphism is polymorphism used at run-time.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / isaiselvan s
In this Mechanism by which a call to an overridden function is resolved at a Run-Time( not at Compile-time). If a BaseClass contains method must be a Virtual method in C# to be overridden..
| Is This Answer Correct ? | 8 Yes | 5 No |
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
What is namespace?
advantage and disadvantage in c++>>oops and what are the questions ask for interview in c++>>oops. could you tell me or reply me
Give two or more real cenario of virtual function and vertual object
What is difference between class and object with example?
What is the difference between Home and $Home?
Why do we use encapsulation in oops?
What are virtual classes?
Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database.
write knight tour problem which is present in datastructure
What are the advantages of inheritance?
26 Answers IBS, TCS,
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?