Math.sin(Math.PI) returns _______.
A. 0.4
B. 0.0
C. 0.5
D. 1.0
查看答案
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