Styrow.dev
Question 47 of 247
Java Topic: General medium

Difference between Overloading and Overriding?

Question

Difference between Overloading and Overriding?

Answer

Method overloading increases the readability of the program. Method overriding provides the specific implementation of the method that is already provided by its super class parameter must be different in case of overloading, parameter must be same in case of overriding.