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 an example of genetic polymorphism?
write a C++ program for booking using constructor and destructor.
Which language is not a true object oriented programming language?
#include
What is protected in oop?
2. Give the different notations for the class.\
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is difference between multiple inheritance and multilevel inheritance?
What is the fundamental idea of oop?
What is oops?what is its use in software engineering?
Write a program to reverse a string using recursive function?
Whats is abstraction in oops?
write string class as your own class in java without using any built-in function
What is polymorphism in oops?
Why is polymorphism needed?