Limited access

Upgrade to access all content for this subject

What is the output of the following code segment?

int x = 15+2*3+7/4;
System.out.println(x);
A

20

B

22

C

23

D

42

E

43

Select an assignment template