Answer Posted / tamil venthan
using virtual we can override the same function for
different sub classes ,By creating the pointer to the base
class we can allocate the separate memory for every
class(memory consumption)not for all classes
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is overloading and its types?
How do you define a class in oop?
Why do we use oops?
What is abstraction oop?
What are the 3 pillars of oop?
What polymorphism means?
What is encapsulation and abstraction? How are they implemented in C++?
Which method cannot be overridden?
How do you achieve runtime polymorphism?
what type of question are asked in thoughtworks pair programming round ?
which feature are not hold visual basic of oop?
What is class in oop with example?
Write a c++ program to display pass and fail for three student using static member function
What is the purpose of polymorphism?
What is encapsulation in oop?