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
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is a superclass in oop?
Why multiple inheritance is not allowed?
Why do we use class?
What is class encapsulation?
How do you explain polymorphism?
Explain virtual inheritance?
What is the types of inheritance?
Why do we use class in oops?
Please send ford technologies placement paper 2 my mail id
What is abstract class in oop?
What is abstraction in oop?
What is the main purpose of inheritance law?
What is the important feature of inheritance?
What is super in oop?