Computer Science, asked by venkanna36, 1 year ago

what is the difference between metodoverloading and methodoverriding?​

Answers

Answered by vedprakashpal3p57skg
2

Overloading 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 (i.e., method signature). One of the methods is in the parent class and the other is in the child class.

Answered by OrangyGirl
0

Overloading 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 (i.e., method signature). One of the methods is in the parent class and the other is in the child class.

Hope it helps ✌✌❤

Similar questions