各位大佬,能帮我看看哪错了吗?
package com.imooc;
import java.util.Arrays;
public class HelloWorld {
public static void main(String[] args) {
HelloWorld hello=new HelloWorld();
int[]scores={89,-23,64,91,119,52,73};
System.out.println();
hello.showTop(scores);
}
public void showTop(int[]scores){
Arrays.sort(scores);
for(int i=scores.length-1;i>=0;i++){
if(i<scores.length-3){
break;
}
System.out.println(scores[i]);
}