Elevate Credit Interview Question

What is method overloading and method overriding

Interview Answer

Anonymous

Aug 23, 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