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 abstraction oop?
What exactly is polymorphism?
What is a superclass in oop?
What is the purpose of polymorphism?
Why polymorphism is used in oops?
What is polymorphism and types?
What does no cap mean?
What is coupling in oop?
Is data hiding and abstraction same?
What is multilevel inheritance explain with example?
Is abstract thinking intelligence?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is abstraction in oops?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?