Sections - Java Quiz Question


What will be the output of the following program?


A
A B C D
B
A B C D java.lang.ArrayIndexOutOfBoundsException: 4
C
Compilation Error
D
Runtime Error for some other reason