What is function overloading and operator overloading?
Answer Posted / jha
Both function overloading and operator overloading is same
thing we can reuse the thing. In operator overloading we
can reuse the operator and user can work through object;
In function overloading we can overloading the same method
in derived class.
| Is This Answer Correct ? | 28 Yes | 36 No |
Post New Answer View All Answers
Is data hiding and abstraction same?
What is the benefit of oop?
Is html an oop?
How do you define a class in oop?
What is data binding in oops?
Why do we need polymorphism in c#?
Why do we need oop?
Can a varargs method be overloaded?
What are the types of abstraction?
How to hide the base class functionality in Inheritance?
why reinterpret cast is considered dangerous?
2. Give the different notations for the class.\
What are the 4 main oop principles?
How oops is better than procedural?
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.