先导入import java.util.Random;
然后再求随机数:Random xx=new Random();
nums[i]=xx.nextInt(100)+1;
然后再求随机数:Random xx=new Random();
nums[i]=xx.nextInt(100)+1;
2015-02-11
举报