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 the oops and benefits of oops programming?
Why do we use class?
What is object in oop?
How to hide the base class functionality in Inheritance?
What is the full form of oops?
What are constructors in oop?
What does enum stand for?
What are the 5 oop principles?
What is polymorphism give a real life example?
What is encapsulation selenium?
What is overloading and its types?
What is inheritance and how many types of inheritance?
Why do we use encapsulation in oops?
What is oops in simple words?
What is abstraction encapsulation?