Answer Posted / nishanthi
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 ? | 17 Yes | 4 No |
Post New Answer View All Answers
What is abstraction in oop?
Which language is pure oop?
what is graphics
What are classes oop?
What is the significance of classes in oop?
How do you use inheritance in unity?
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 class and example?
What is super in oop?
What is encapsulation in oop?
Why it is called runtime polymorphism?
What is constructor overloading in oop?
Is react oop?
What is constructor in oop?
What is abstraction in oop with example?