题目详情
单选题 下列哪个方法调用可以生成一个介于 0(含)和 10(不含)之间的整数随机数
A. Math.random() * 10
B. (int)(Math.random() * 10)
C. (int)(Math.random() * 11)
D. Math.round(Math.random() * 10)
学科:
时间:2025-11-19 05:05:54
相关题目
相关作业