Exit 1Z0-815 Java SE 11 Programmer I
Question 4 of 5
0% complete
Q4 Single choice

Given:

What is the result?

  • A

    [0,0] = Red
    [0,1] = White
    [1,0] = Black
    [1,1] = Blue
    [2,0] = Yellow
    [2,1] = Green
    [3,0] = Violet

  • B

    [0,0] = Red
    [1,0] = Black
    [2,0] = Blue

  • C

    java.lang.ArrayIndexOutOfBoundsException thrown

  • D

    [0,0] = Red
    [0,1] = White
    [1,0] = Black
    [2,0] = Blue
    [2,1] = Yellow
    [2,2] = Green
    [2,3] = Violet