The function overloading is the technique in which you can make the function with more than one name but only if you will change the paramaters or the number of the paramaters.
function overriding is one in which functions have the same name and same number,type of arguments.. its only the implementations that differs.. they are accessed based on the object of the class being called
function overloading is function name is same and parameter same but deffination of the function is deffrent .fuction perform the action is deffrent -deffrent example- class abc { int sum;
public int sum(int i, int j) { sum=i+j; return(sum); } int mul; public int sum(int i, int j) { mul=i*j; return(mul); }} {
Function over loading means two functions will have same name but they differ in the number or type of arguments.
Whereas function overriding means two functions will have same name , type and number of arguments. Typically these two functions will be in different classes (base and derived for example).