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
What is polymorphism what is it for and how is it used?
What is class encapsulation?
How do you achieve polymorphism?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is destructor in oop?
How Do you Code Composition and Aggregation in C++ ?
Whats oop mean?
What are two types of polymorphism?
Write a program to sort the number with different sorts in one program ??
Can a varargs method be overloaded?
What is super in oop?
What are constructors in oop?
What is the main feature of oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
What does enum stand for?