import java.util.Arrays;
public class a
{public static void main(String[] args)
{
int num=8;
a hello=new a();
int shuZu[]=hello.score(num);
System.out.println(Arrays.toString(shuZu));
}
public int[] score(int num)
{
int shuZu[]=new int[num];
for(int i=0;i<shuZu.length;i++)
{
shuZu[i]=(int) Math.random()*100;
}
return shuZu;
}
}
慕的地6079101
相关分类