Answer Posted / mostafa zedan
Overriding - same method names with same arguments and same
return types associated in a class and its subclass.
Overloading - same method name with different arguments,
may or may not be same return type written in the same
class itself.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
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.
What is abstraction in oop?
What is interface in oop?
What is abstract class in oop?
What is use of overloading?
What is meant by oops concept?
what are the realtime excercises in C++?
what is the sylabus for priliminaries?
Which is not an object oriented programming language?
How do you achieve runtime polymorphism?
What is cohesion in oop?
what are the different types of qualifier in java?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is the important feature of inheritance?
Can private class be inherited?