// difference between parameters and arguments /** * add two numbers * @param a first addend * @param b second addend * @return sum of a+b */ static int add( int a, int b ) { // a and b are 'parameters', the variables the callee uses to accept inputs. return a + b; } // 2 and 3 are 'arguments', the values passed by the caller. int result = add( 2, 3 );