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;
}
}
添加回答
举报
0/150
提交
取消