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

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

 

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