“The method Area() of type Rectangle must override or implement a supertype method”每次建繼承類都會出現(xiàn)這種錯誤提示是為什么?
1 回答
舉報
0/150
提交
取消
“The method Area() of type Rectangle must override or implement a supertype method”每次建繼承類都會出現(xiàn)這種錯誤提示是為什么?
2014-08-24
舉報
2014-08-25
你可能在父類里面寫了一些方法而在繼承的時候沒有在子類中實現(xiàn)這些方法,所以才會出現(xiàn)這種錯誤