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 overriding in oop?
What is encapsulation in ict?
Explain the advantages of inheritance.
Prepare me a program for the animation of train
Why do we use polymorphism in oops?
Why multiple inheritance is not possible?
What is difference between multiple inheritance and multilevel inheritance?
What is class in oop with example?
What is polymorphism explain its types?
What is methods in oop?
Can static class have constructor?
What is abstract class in oops?
What is abstraction in oops?
what are the ways in which a constructors can be called?
What do you mean by variable?