获取随机数方法

第一种: 获取1-9的随机数 ThreadLocalRandom.current().nextInt(1, 10); 第二种:获取0-9的随机数 0+ random.nextInt(10);web
相关文章
相关标签/搜索