放弃Random生成随机数吧,试试ThreadLocalRandom #生成六位随机数ThreadLocalRandom t = ThreadLocalRandom.current();t.nextInt(100000, 1000000); Java基础 2023-09-14 37 点赞 0 评论 56 浏览