Pergunta de entrevista da empresa Eazy Business Solution

What is difference between method overloading and over riding

Resposta da entrevista

Sigiloso

8 de abr. de 2022

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.

1