what is function overloading and overriding?
Function Overloading is when multiple function with same name exist in a class. ... Function Overriding occurs when one class is inherited from another class. 3. Overloaded functions must differ in either number of parameters or type of parameters should be different. In Overridden function parameters must be same.