Java生成(m.n)之间的随机数

random_index=(int)(Math.random()*(n-m+1));
原文地址:https://www.cnblogs.com/hzcya1995/p/13309705.html