Domanda di colloquio di MyTel

What is method overriding and overloading?

Risposta di colloquio

Anonimo

3 lug 2022

Method overloading is used to increase the readability of the program. Method overriding is used to provide the specific implementation of the method that is already provided by its super class.