Pergunta de entrevista da empresa Elevate Credit

What is method overloading and method overriding

Resposta da entrevista

Sigiloso

23 de ago. de 2018

-Method Overloading is when 2 or more methods have the same naming convention with a different argument in the same class. -Method Overriding is when 2 or more methods have the same naming convention and the same argument. One method in the parent class and the other in the child class