Answer Posted / p.madhupriya
virtual keyword we can call all the funtion of
same name used in different class by creating pointer of
the base class
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what type of question are asked in thoughtworks pair programming round ?
What is encapsulation and abstraction? How are they implemented in C++?
#include
Can we create object of abstract class?
What is encapsulation in oops?
What is the purpose of polymorphism?
What is inheritance write a program to show use of inheritance?
What is coupling in oop?
Prepare me a program for the animation of train
Can we have inheritance without polymorphism?
What is the important feature of inheritance?
What type of loop is a for loop?
What is difference between polymorphism and inheritance?
Why do we use polymorphism in oops?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.