InterviewSolution
Saved Bookmarks
| 1. |
What are the difference between overloading and overriding in oops? |
|
Answer» Overloading : It OCCURS when two or more METHODS in one class have the same METHOD name but different parameters. Overriding : It means having two methods with the same method name and parameters. One of the methods is in the PARENT class and the other is in the child class. |
|