请各位大神看看哪里错了啊
import java.util.Arrays;
public class HelloWorld {
//完成 main 方法
public static void main(String[] args) {
System.out.println("考试前三名为:");
int []scores={89,-23,64,91,119,52,73};
HelloWorld .hello = new HelloWorld ();
hello.showTop3(scores);
}
//定义方法完成成绩排序并输出前三名的功能
public int showTop3(int [] scores){
Arrays.sort(scores);
int num=0;
for(int i =scores.length-1;i>0;i--){
if(scores[i]<0||scores[i]>100)
{
continue;
}
num++;
if(num>3){
break;
}
System.out.println(scores[i]);
}
}
}
//编译后的结果就是:/85/1598/LxV7/HelloWorld.java:11: error: cannot find symbol
HelloWorld .hello = new HelloWorld ();
^
symbol: variable hello
location: class HelloWorld
/85/1598/LxV7/HelloWorld.java:12: error: cannot find symbol
hello.showTop3(scores);
^
symbol: variable hello
location: class HelloWorld
2 errors