What is <code>17 % 5</code> in Java?
- A
3
- Bcheck_circle
2
- C
12
- D
3.4
Explanation
Modulus = remainder; 17 = 5·3 + 2.
AP Computer Science A· difficulty 2/5
What is <code>17 % 5</code> in Java?
3
2
12
3.4
Explanation
Modulus = remainder; 17 = 5·3 + 2.
Want 10 more like this — adaptive to your weak spots?