Mark_G
2016-05-03 18:15
跟老师写的一样的代码,为什么在child类中没有@Override,而且一添加@Override就提示错误?
Multiple markers at this line
- The method age() of type child must override a superclass method
- implements lession.person.age
百度到答案了,windows-->perference-->java-->compiler-->改为6.0
右键项目--》build path--》configure build path--》java—》compiler--》更改为6.0
解决了
全面解析Java注解
127206 学习 · 111 问题
相似问题