-->
当前位置:首页 > 题库

单选题:Which of the following will output -3.0

Luz5年前 (2021-05-10)题库969
Which of the following will output -3.0 @[C](2)

A. System.out.println(Math.floor(-3.7));
B. System.out.println(Math.round(-3.7));
C. System.out.println(Math.ceil(-3.7));
D. System.out.println(Math.min(-3.7));




A.System.out.println(Math.floor(-3.7));
B.System.out.println(Math.round(-3.7));
C.System.out.println(Math.ceil(-3.7));
D.System.out.println(Math.min(-3.7));


答案:C