抽象方法的繼承時出現的問題
創建shape類的時候代碼沒有問題,另一張圖中的Rectangle類是繼承shape類的,其中代碼第6行,第13行都是同一個問題,問題的描述為:
Multiple markers at this line
- The method getCircumference() of type Rectangle must?
override or implement a supertype method
- implements com.imooc4.Shape.getCircumference
這該如何解決啊
2016-08-18
試一下把每個文件都保存一下
就是把每個頁面都打開,Ctrl+S
2016-08-18
我按你的試了一下,沒有錯誤啊