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 / ravi kumar noneria
No,
if two functions with same name has either diff no of
argument or same no of arguments but different type is
called function overloading not return type.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Write a c++ program to display pass and fail for three student using static member function
Why is polymorphism used?
What is class and object in oops?
What is use of overloading?
What is encapsulation selenium?
How oops is better than procedural?
What makes a language oop?
What is meant by multiple inheritance?
Why is polymorphism important in oop?
What is object and class in oops?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is destructor in oop?
What is overloading in oops?
What do you mean by variable?
Write a program to sort the number with different sorts in one program ??