Break example output - Java Quiz Question


What will be the output of the following program?


A
sum = 18
B
sum = 36
C
Compilation error
D
sum = 12