Methods Output517 - Java Quiz Question


What will be the output of the following program.


A
d1 = 34.0 d2 = 56.0
d3 = 21.0 d4 = 98.0
o = -77.0
B
d1 = 21.0 d2 = 98.0
d3 = 34.0 d4 = 56.0
o = 90.0
C
d1 = 34.0 d2 = 56.0
d3 = 21.0 d4 = 98.0
o = 90.0
D
Compilation Error