I hv a same function name,arguments in both base class and
dervied class, but the return type is different. Can we call
this as a function overloading? Explain?
Answer Posted / pankaj shinde
No.
for overloading two methods should be in same class
and not in base & derived class
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the oops and benefits of oops programming?
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?
to find out the minimum of two integer number of two different classes using friend function
Get me an image implementation program.
What language is oop?
What is polymorphism give a real life example?
What is abstract class in oop?
What polymorphism means?
Write a program to reverse a string using recursive function?
Can we have inheritance without polymorphism?
How to improve object oriented design skills?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Write a c++ program to display pass and fail for three student using static member function
Why do pointers exist?
#include