單項選擇題

“System.out.println(Math.floor(-2.1));”的打印結(jié)果是什么()。

A.-2
B.2.0
C.-3
D.-3.0

微信掃碼免費搜題