private void Random(int[] arrayK){
int i = 0;
int a,j;
Random random = new Random();
while (i < 20) {
arrayK[i]=random(100)+1;
i++;
}
}
private void Random(int[] arrayK){
int i = 0;
int a,j;
Random random = new Random();
while (i < 20) {
arrayK[i]=random(100)+1;
i++;
}
}
转载于:https://www.cnblogs.com/wuhuisheng/archive/2010/08/04/1791702.html