Calculate sum of 2d array - Java Quiz Question


What will be the output of the following program.


A
sum = 58
B
sum = 8
C
sum = 73
D
Compilation Error
E
Throws ArrayIndexOutOfBoundsException