Pregunta de entrevista de Deloitte

What is difference between overloading and overwriting

Respuesta de la entrevista

Anónimo

1 feb 2021

Overloading means function with same name but different parameters and return types. Overwriting means with function with same name and parameters in which one function overwrite the other