How to call a non virtual function in the derived class by
using base class pointer
Answer Posted / aaa
Typecast the base pointer to derived class pointer type and
then invoke the derived class's function.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can we override main method?
What is constructor in oop?
Templates mean
Can a destructor be called directly?
What is static in oop?
Why oops is important?
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).
How is polymorphism achieved?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is the fundamental idea of oop?
Whats is abstraction in oops?
Whats oop mean?
What is an advantage of polymorphism?
Is this job good for future? can do this job post grduate student?
What is polymorphism and why is it important?