Answer Posted / vic
To elaborate on Ejaz's answer, the run time determination
will only happen if the functions being called were declared
as being virtual.
If they weren't, then the function to be called will be
determined at compile time according to the object type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is class encapsulation?
Is html an oop?
What are the benefits of polymorphism?
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 are the important components of cohesion?
What is inheritance write a program to show use of inheritance?
Whats is abstraction in oops?
What is a superclass in oop?
What does I oop mean?
What is polymorphism and types?
Templates mean
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
How long to learn object oriented programming?
What are constructors in oop?
Whats oop mean?