取余数 int a=15; int b=10; a%b 等于5 a/b等于1 随机数 Random random = new Random(); int index=(int) random.nextInt(100); 生成一个[0,100)之间的整数