Call by value means that when you pass an argument in java it's a copy of the original value that is passed not the original object. It's the default function for all build-in objects (char, int, float, double etc) meaning that if you use a function and its argument is of build-in type you cannot change the value of the argument. An array can be passed to a function by value by declaring in the called function the array name with square brackets ([ and ]) attached to the end. When calling the function, simply pass the address of the array (that is, the array?s name) to the called function. | 5 |
By: [email protected] On: Sun Dec 01 02:41:30 EST 2013 0 359 0 | 359 |
Are You Satisfied :0Yes0No |