Question: In object oriented programming what is the difference between overriding and overloading? Select one A Overioading occurs when two or more methods in one class
In object oriented programming what is the difference between overriding and overloading?
Select one
A Overioading occurs when two or more methods in one class have the same method name but different parameters. Overriding means having two methods with the same method name and parameters.
B Overloading means having two methods with the same method name and parameters. Overriding occurs when two or more methods in one class
D Overioading means that the stack and the heap collide causing the program to crash. Overriding occurs when errors are caught and handied in a graceful manner, which avoids the program crashing.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
