摘要: 指定范围[min,max] Math.random()*(max-min)+(min); public class TestRandom { public static void main(String[] args) { //指定[1000,9999]内随机数 //min=1000,max=999 阅读全文
posted @ 2020-07-06 20:58 木子李和三点水 阅读(4164) 评论(0) 推荐(0) 编辑