为什么运行不了?
public class HelloWorld {
//完成 main 方法
public static void main(String[] args) {
int[] scores={89,-23,64,91,119,52,73};
System.out.println("考试前三名成绩为:")
HelloWorld hello=new HelloWorld();
hello.aa3(scores);
public void aa3(int[] scores){
Arrays.sort(scores);
for(int i=scores.length;i>=0;i--){
int counts=0;
if(scores[i]<0||scores[i]>100){
continue;
}
counts++;
if(counts>3){
break;
}
System.out.println(scores[i]);
}
}
}