The statement System.out.println(values[7]); will
Assume values is an int array that is currently filled to capacity, with the following values:
a) output 7
b) output 18
c) output nothing
d) cause an ArrayOutOfBoundsException to be thrown
e) cause a syntax error
Answer: d. Explanation: The array has 7 values, but these are indexed values[0] to values[6]. Since values[7] is beyond the bounds of the array, values[7] causes an ArrayOutOfBoundsException to be thrown.