Expressions and Output() - AP Computer Science A

Card 1 of 30

0
Didn't Know
Knew It
0
1 of 3029 left
Question

What is the result of: System.out.println(10 / 3);?

Tap to reveal answer

Answer

  1. Integer division truncates the decimal portion in Java.

← Didn't Know|Knew It →