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 overriding in oops?
What is difference between multiple inheritance and multilevel inheritance?
• What are the desirable attributes for memory managment?
What is the difference between abstraction and polymorphism?
Why is polymorphism important in oop?
write knight tour problem which is present in datastructure
What causes polymorphism?
What are the components of marker interface?
What is the point of oop?
Why do we use inheritance?
can inline function declare in private part of class?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is inheritance in simple words?
What is abstraction encapsulation?
Is abstract thinking intelligence?