Find price - Java Quiz Question


What will be the output of the following program?


A
Type1 price 7.5
Type2 price 36.9
B
Type1 price 20.0
Type2 price 98.4
C
Compilation Error
D
Runtime Error