繼承抽象類有問題
eclipse在創(chuàng)建Rectangle繼承Shape的時候他會在方法那行提示
Multiple markers at this line
- The method square() of type Rectangle must override or implement a supertype?
method
- implements boby.Shape.square
怎么破??
eclipse在創(chuàng)建Rectangle繼承Shape的時候他會在方法那行提示
Multiple markers at this line
- The method square() of type Rectangle must override or implement a supertype?
method
- implements boby.Shape.square
怎么破??
2015-04-27
舉報
2015-04-27
重寫所有的抽象方法吧