搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

以下Math类的方法中,-4.4通过哪个方法运算后,结果为-5.0?()

A、round()四舍五入

B、min()

C、floor()小于参数最大整数

D、ceil()大于参数最小整数

更多“以下Math类的方法中,-4.4通过哪个方法运算后,结果为-5.0?()”相关的问题
第1题

A、ceil()  B、floor()  C、abs()  D、random()  

点击查看答案
第2题

A、Math.floor(Math.random()*6)  B、Math.floor(Math.random()*7)  C、Math.floor(Math.random()*8)  D、Math.ceil(Math.random()*8)  

点击查看答案
第3题

A、 Math.ceil(2,4)   B、 Math.max(2,4)   C、 ceil(2,4)   D、 top(2,4)  

点击查看答案
第4题

A、n=Math.round(Math.random(100))+1;  B、n=Math.round(Math.random()*100)+1;  C、n=Math.floor(Math.random(100))+1;  D、n=Math.floor(Math.random()*100)+1;  

点击查看答案
第5题

A、A.4.28化整为4.2  B、B.4.3化整为4.4  C、C.4.38化整为4.4  D、D.4.18化整为4.0  

点击查看答案
第6题

A、(int)(20+Math.random()*97)  B、 20+(int)(Math.random()*980)  C、(int)Math.random()*999  D、 20+(int)Math.random()*980  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服