4-3抽象類課后練習
我在shape抽象類里定義了兩個方法:
public abstract void girth();
public abstract void area();
之后我用Rectangle類繼承shape抽象類就出現這種錯誤:
Multiple markers at this line
- implements chouXiangLei4_3.shape.girth
- The method girth() of type Rectangle must override or implement a supertype?
method
是怎么一回事呢?
2018-03-09
所有方法都重寫了嗎
2018-02-18
安全按照老師的步驟操作來的,中英文也試過了。不知道究竟是怎么一回事