202002011305_《Java输出m到n随机整数公式》

 m + (new Random().nextInt(n - (m + 1)));

 

posted @ 2020-02-01 13:07  Coca-code  阅读(148)  评论(0编辑  收藏  举报