Deloitte Interview Question

What is difference between overloading and overwriting

Interview Answer

Anonymous

Feb 1, 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