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
hi all..i want to know oops concepts clearly can any1 explain??
What is methods in oop?
What is a class oop?
What is the use of oops?
Why is polymorphism important in oop?
How to use CMutex, CSemaphore in VC++ MFC
What makes a language oop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is abstraction in oops with example?
Where is pseudocode used?
what is difference between class template and template class?
What is encapsulation with example?
What are the components of marker interface?
What is polymorphism and types?
Where You Can Use Interface in your Project