Which code determines the int value foo closest to a double 

题目内容(请给出正确答案)
单选题
Which code determines the int value foo closest to a double value bar?()
A

 Int foo = (int) Math.max(bar);

B

 Int foo = (int) Math.min(bar);

C

 Int foo = (int) Math.abs(bar);

D

 Int foo = (int) Math.ceil(bar);

E

 Int foo = (int) Math.floor(bar);

F

 Int foo = (int) Math.round(bar);

参考答案和解析
正确答案: D
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
更多相关问题