Limited access

Upgrade to access all content for this subject

Consider the following code segment.

System.out.print((double) (10 / 4) * (int) 10.0 / 4 + (double) 10 / 4);

What is printed as a result of executing the code segment?

A

6.5

B

7.0

C

7.5

D

8.25

E

8.75

Select an assignment template