Find balance - Java Quiz Question


What will be the output of the following program?


A
After loan x,y bal is -10.0 -20.0
B
After loan x,y bal is -10.0 20.0
C
Compilation Error
D
Runtime Error