?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

Arithmetic Operations: Math.abs and Other Arithmetic

APCSA-6ET8JM

Consider the following code segment.

System.out.println(Math.abs(11%4*(-3))/2);

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

A

-4

B

-3

C

1

D

3

E

4