Parameters
Parameters. Parameter Passing. f ormal parameters. int plus(int a, int b ) { return a+b ; } int x = plus(1,2);. How are parameters passed? Looks simple enough… We will see seven techniques. m ethod body. a ctual parameters. m ethod call. Outline. 18.2 Parameter correspondence
734 views • 50 slides