Exit 1Z0-809 Java SE 8 Programmer II
Question 2 of 5
0% complete
Q2 Single choice

Given:

and the code fragment:

What is the result?

  • A

    0.0

  • B

    1500.0

  • C

    A compilation error occurs.

  • D

    2000.0