Answer Posted / 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 |
Post New Answer View All Answers
what type of question are asked in thoughtworks pair programming round ?
Advantage and disadvantage of routing in telecom sector
Why do we use class?
What is polymorphism what is it for and how is it used?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What are the benefits of interface?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
• What are the desirable attributes for memory managment?
can inline function declare in private part of class?
What is the fundamental idea of oop?
State what is encapsulation and friend function?
What does sksksk mean in text slang?
What is polymorphism programming?
What is object and class in oops?
what are the ways in which a constructors can be called?