Computer Science, asked by GundaAnusha, 3 months ago

compare and contrast overloading and a overridind methods in java​

Answers

Answered by umeshnirmal04
4

Answer:

When two or more methods in the same class have the same name but different parameters, it's called Overloading. When the method signature (name and parameters) are the same in the superclass and the child class, it's called Overriding.

Answered by disharana240
0

Answer:

When two or more methods in the same class have the same name but different parameters, it's called Overloading. When the method signature (name and parameters) are the same in the superclass and the child class, it's called Overriding.

Similar questions