Nested For loop output807 - Java Quiz Question


What will be the output of the following program?


A
Sum = 35
B
Sum = 51
C
Sum = 19
D
Compilation Error
E
Runtime Error