为什么下面这个程序是放在Sport.java里的而不是Athelete里的也能运行
输入javac Sport.java  然后java Athelet 就能输出了interface Sport
{
void run();
void jump();
}
class Athelete
{
public static void main (String[] args)
{
Athelete at=new Athelete();
at.run();
at.jump();
}
public void run()
{
System.out.println("长跑");
}
public void jump()
{
System.out.println("三级跳");
}}