ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
What is Dynamic Polymorphism?
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is Dynamic Polymorphism?
Answer
# 1
dynamic polymorphism is run time polymorphism.it is 
implemented through virtual functions
 
Is This Answer Correct ?    2 Yes 0 No
Manish Kumar
 
  Re: What is Dynamic Polymorphism?
Answer
# 2
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 ?    3 Yes 0 No
Srinivas
 
 
 
  Re: What is Dynamic Polymorphism?
Answer
# 3
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 ?    1 Yes 0 No
Irfan
 
  Re: What is Dynamic Polymorphism?
Answer
# 4
In Dynamic Polymorphism memory allocation will be at the 
run time for that perticular method which is implemented 
as polymorphism.
 
Is This Answer Correct ?    1 Yes 0 No
Amit Upadhyay
 
  Re: What is Dynamic Polymorphism?
Answer
# 5
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 ?    2 Yes 0 No
Srujana
 
  Re: What is Dynamic Polymorphism?
Answer
# 6
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 ?    0 Yes 0 No
D N Gavade
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?  1
What is virtual class and friend class? Intel2
how can we design a magic square in c++?or suggest me the basic idea of it.  1
How is data security provided in Object Oriented languages? ?  3
what is an instance of a class  2
Which is the parameter that is added to every non-static member function when it is called?  3
Can we call a base class method without creating instance?  4
what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....  5
What is multiple inheritance ? Ness-Technologies8
What is public, protected, private? Satyam4
Why and when is a virtual destructor needed?  2
What is a mixin class?  3
what is virtual function? Infosys11
Should you protect the global data in threads? Why or why not? IBM1
What are generic functions and generic classes?  2
What are the different forms of polymorphism?? PCS5
what is multithreading in c++ , what is difference between multithreading and singlethreading.  1
what is the usage of clas templates  5
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that  4
What is Dynamic Polymorphism?  6
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com