繼承抽象類有問(wèn)題
eclipse在創(chuàng)建Rectangle繼承Shape的時(shí)候他會(huì)在方法那行提示
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的時(shí)候他會(huì)在方法那行提示
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
舉報(bào)
2015-04-27
重寫(xiě)所有的抽象方法吧