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

 m + (new Random().nextInt(n - (m + 1)));
原文地址:https://www.cnblogs.com/beesky520/p/12248206.html