這個(gè)報(bào)錯(cuò)是什么意思???
這個(gè)報(bào)錯(cuò)是什么意思?。? Exception in thread "main" java.lang.Error: Unresolved compilation problem: The type Chinese must implement the inherited abstract method IJiekou.play() at com.imooc.Chinese.play(Chinese.java:3) at com.imooc.Test.main(Test.java:13)
代碼:
package com.imooc;
public class Chinese extends APerson implements IJiekou {
public void paly(){
System.out.println("人類都喜歡玩耍");
}
public void say(){
System.out.println("中國人說中國話");
}
}
2016-09-14
IJiekou里寫得甚么?是不是沒實(shí)現(xiàn)它里面的方法
2016-09-13
你沒實(shí)現(xiàn)接口方法?