Last Index - Java Quiz Question


What will be the output of following program?


A
6
B
7
C
8
D
3
E
Compilation Error or Runtime Error