Math.cos(Math.PI) returns _______.
A. 0.5
B. -1.0
C. 0.0
D. 1.0
查看答案
What is Math.round(3.6)?
A. 3
B. 3.0
C. 4
D. 4.0
Which of the following is a possible output for (int)(51 * Math.random())?
A. 50
B. 100
C. 500
Math.ceil(5.5) evaluates to _____.
A. 5
B. 6.0
C. 6
D. 5.0
What is Math.rint(3.5)?
A. 4.0
B. 5.0
C. 3
D. 3.0