Beginner Java
Q17 / 100

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

Correct! Well done.

Incorrect.

The correct answer is C) 3

C

Correct Answer

3

Explanation

Integer division in Java truncates the decimal part, so 10 / 3 yields 3, not 3.33.

Progress
17/100