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 the oops and benefits of oops programming?
What is polymorphism and example?
What is the difference between encapsulation and polymorphism?
Why is destructor used?
What is the difference between a mixin and inheritance?
What is the difference between procedural programming and oops?
What are functions in oop?
• What are the desirable attributes for memory managment?
Why do we use oops?
What is encapsulation and abstraction? How are they implemented in C++?
What is pointer in oop?
How do you achieve runtime polymorphism?
What is data binding in oops?
What is variable example?
Can we override main method?