Examlex

Solved

Consider Array Items,which Contains the Values 0,2,4,6 and 8

question 29

Multiple Choice

Consider array items,which contains the values 0,2,4,6 and 8.If method changeArray is called with the method call changeArray( items,items[ 2 ] ) ,what values are stored in items after the method has finished executing? public static void changeArray( int[] passedArray,int value )
{
PassedArray[ value ] = 12;
Value = 5;
} // end method changeArray


Definitions:

Related Questions