Q6
Given the code
fragment:
int [] [] array2D = {{0, 1, 2}, {3, 4, 5, 6}};
system.out.print(array2D[0].length+ "" );
system.out.print(array2D[1].getClass().isArray() + "");
system.out.println(array2D[0][1]);
What is the
result?
A.
3false1
3false1
B.
2true3
2true3
C.
2false3
2false3
D.
3true1
3true1
E.
3false3
3false3
F.
2true1
2true1
G.
2false1
2false1
Risposta : 3true1
Nessun commento:
Posta un commento