- 博客(2)
- 收藏
- 关注
原创 常用的java方法的使用
Math.random() * 10;double类型math.random(0-1) * 10 = randmom 0 * 10 + 1 * 10 = random(0 - 10)生成0到10的随机整数Math.random() * 90 + 10 = random (0 * 90 - 1 * 90) + 10 = random 0 + 10 - 90 + 10 = random(10-100);随机数10到100
2021-12-21 08:56:42
401
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人