你这是什么程序呀?这么多错误
10行:staff.length            //staff.size
12行:System.out.…………     //Systme
16行:implements              //implenemts
16行还有你要实现什么接口呀,Compareble编译器提示没有啊。你再仔细看看吧

解决方案 »

  1.   

    1.Compareble应为:Comparable;2.compareTO应为:compareTo,注意大小写。
      

  2.   

    同楼上的,compareTo的大小写要注意,还有就是拼写错误。
    因为你没有定义compareTo函数,所以有:Employee should declared abstract it does not define compare (java.lang.object)。意思是需要定义成抽象类。raiseSalary(double bypend )
    调用到函数的时候你传进一个参数就可以了。