int m = Math.min(8, 3);
System.out.println(m);What is printed?
- A
8
- Bcheck_circle
3
- C
11
- D
5
Explanation
Math.min returns the smaller of its two arguments, which is 3.
AP Computer Science A· difficulty 2/5
int m = Math.min(8, 3);
System.out.println(m);What is printed?
8
3
11
5
Explanation
Math.min returns the smaller of its two arguments, which is 3.
Want 10 more like this — adaptive to your weak spots?