为什么输出的结果不是正确的
import java.util.Arrays;
import java.util.Scanner;
public class j{
public static void main(String args[]){
int[] score= new int[7];
System.out.println("请输入成绩:");
Scanner input=new Scanner(System.in);
int arrys=input.nextInt();
System.out.println("成绩的前三名:");
j test=new j();
test.chengji(score);
}
public void chengji(int[] score) {
Arrays.sort(score);
int num=0;
for (int i=score.length-1;i>=0;i--){
if (score[i]<0||score[i]>100){
continue;
}
num++;
if(num>3){
break;
}
System.out.println(score);
}
}}