当前位置:百科知识 > 知到分享快乐答案

问题描述:

[单选] 下列()表达式产生一个0~7之间(含0,7)的随机整数。
A.Math.floor(Math.random()*7) B.Math.floor(Math.random()*6) C.Math.ceil(Math.random()*8) D.Math. floor(Math.random()*8)
参考答案:查看
答案解析:
☆收藏

随机题目