Calculate sum of doubles - Java Quiz Question


What will be the output of the following program?


A
sum = 7707.77777
B
sum = 7777.77777
C
Compilation errors.
D
sum = 7770.77077