Class with more Methods - Java Quiz Question


What will be the output of the following program?


A
c = 2 total = 13
c = 13 total = 6
c = 7 total = 14
B
c = 2 total = 13
c = 7 total = 6
c = 6 total = 14
C
c = 2 total = 13
c = 7 total = 39
c = 39 total = 14
D
c = 7 total = 6
c = 6 total = 13
c = 13 total = 14
E
Some other output
F
Compilation Error or Runtime Error