Nested For loop output - Java Quiz Question


What will be the output of the following program?


A
sum = 336
B
sum = 359
C
Compilation errors
D
sum = 45