What is Dynamic Polymorphism?

Answers were Sorted based on User's Feedback



What is Dynamic Polymorphism?..

Answer / manish kumar

dynamic polymorphism is run time polymorphism.it is
implemented through virtual functions

Is This Answer Correct ?    101 Yes 15 No

What is Dynamic Polymorphism?..

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

What is Dynamic Polymorphism?..

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

What is Dynamic Polymorphism?..

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

What is Dynamic Polymorphism?..

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

What is Dynamic Polymorphism?..

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

What is Dynamic Polymorphism?..

Answer / raju

using single name performing difference task is called
polymorphism.

Is This Answer Correct ?    10 Yes 2 No

What is Dynamic Polymorphism?..

Answer / abdullah

By using base class pointer memory to define derive class
is class dynmic polymorphism

Is This Answer Correct ?    12 Yes 5 No

What is Dynamic Polymorphism?..

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

What is Dynamic Polymorphism?..

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

Post New Answer

More OOPS Interview Questions

Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.

6 Answers  


What is interface? When and where is it used?

0 Answers  


What is polymorphism ? Explain with examples

8 Answers   Ness Technologies,


what is the advantage in software? what is the difference between the software developer and Engineer

1 Answers  


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

0 Answers  






Program to open a file with First argument

1 Answers   TCS,


What is the main difference between C++ and Java

11 Answers   TCS,


What is the use of fflush(stdin) in c++?

4 Answers   HCL,


Write a program to multiply 3x3 matrics

1 Answers  


You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.

10 Answers   Zycus Infotech,


diff between Virtual mathod and abstract method?

1 Answers  


JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?

3 Answers  


Categories