求帮忙看看哪里错了
import java.util.Arrays;
public class HelloWorld {
public static void main(String[] args) {
int [] scores={89,-23,64,91,119,52,73};
System.out.println("考试成绩的前三名为");
HelloWorld hello=new HelloWorld();
hello.scoreMaxs(scores);
}
public void scoreMaxs(int [] scores){
Arrays.sort(scores);
int j=0;
for(int i=scores.length;i>=0;i--){
if(scores[i]<0||scores[i]>100){
continue;
}
j++;
System.out.println(scores[i]);
if(j>3){
break;
}
}
}
}