Pregunta de entrevista de Health Care Service Corporation

What is the difference between overloading and overriding in Java?

Respuesta de la entrevista

Anónimo

15 de may de 2020

Overloading occurs when two or more methods in one class have the same method name but different parameters. ... Overriding allows a child class to provide a specific implementation of a method that is already provided its parent class.

1