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
What is encapsulation in oop?
What is the fundamental idea of oop?
write a program to find 2^n+1 ?
officer say me - i am offered to a smoking , then what can you say
What is the problem with multiple inheritance?
How do you define a class in oop?
Which is not an object oriented programming language?
What is polymorphism and example?
What is methods in oop?
How to call a non virtual function in the derived class by using base class pointer
Why it is called runtime polymorphism?
Why is polymorphism important in oop?
Why do while loop is used?
Is oop better than procedural?
What is super in oop?