Foreach loop for Arrays - Java Quiz Question


What will be the output of the following program?


A
215 234 218 189 221 290
B
Prints the reference values
C
Compilation Error
D
Throws ArrayIndexOutOfBoundsException