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 are the important components of cohesion?
which feature are not hold visual basic of oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
How do you define a class in oop?
What is polymorphism explain its types?
What is the important feature of inheritance?
What type of loop is a for loop?
Why do we use class?
Advantage and disadvantage of routing in telecom sector
Write a c++ program to display pass and fail for three student using static member function
How to hide the base class functionality in Inheritance?
What is encapsulation in simple terms?
officer say me - i am offered to a smoking , then what can you say
What is the renewal class?
Can you inherit a private class?