Deloitte interview question

What is difference between overloading and overwriting

Interview Answer

Anonymous

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