Solved

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

Question 61

Multiple Choice

Consider array items,which contains the values 0,2,4,6 and 8.If method changeArray is called with 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;
}


A) 0, 2, 5, 6, 12
B) 0, 2, 12, 6, 8
C) 0, 2, 4, 6, 5
D) 0, 2, 4, 6, 12

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions