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
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is encapsulation in ict?
write a program to find 2^n+1 ?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is abstract class in oops?
What is polymorphism explain its types?
Why we use classes in oop?
Can a destructor be called directly?
What is overloading in oop?
What is oops in programming?
program for insertion ,deletion,sorting in double link list
What is the purpose of enum?
What are oops functions?
What is coupling in oops?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).