Kizspy | Question: 12
(Choose 1 answer)
What is the output of the code snippet?
public class Test {
public static void main(String[] args) {
int a new int [5];
for(int i: a){
i=1;
System.out.println(a[1]);
}
FJOVERFLOW.COM
A. O
B. 1
C. null
D. [I@15db9742]