社区
Eclipse
帖子详情
JAVA中must override or implement a supertype method 问题
th19941028
2015-06-01 10:21:58
The method Call() of type CellPhone must override or implement a supertype method
我把注释删除掉了以后还是不行
求大神解释,在线等谢谢
...全文
6261
7
打赏
收藏
JAVA中must override or implement a supertype method 问题
The method Call() of type CellPhone must override or implement a supertype method 我把注释删除掉了以后还是不行 求大神解释,在线等谢谢
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
过气蟹黄堡
2019-01-22
打赏
举报
回复
1
引用 4 楼 sanshenghui 的回复:
哈哈,前面的抽象类记得要先保存一下
我也是忘记前面的抽象类了。。。。。 看了半天还是没发现。。。
瑞大
2018-06-04
打赏
举报
回复
引用 4 楼 sanshenghui 的回复:
哈哈,前面的抽象类记得要先保存一下
服了
cnsealine
2017-03-27
打赏
举报
回复
1
引用 4 楼 sanshenghui 的回复:
哈哈,前面的抽象类记得要先保存一下
我去,这个才是正解啊
sanshenghui
2017-01-04
打赏
举报
回复
4
哈哈,前面的抽象类记得要先保存一下
Ryan_yuans
2016-04-09
打赏
举报
回复
ctrl + s ..
张杰_
2016-01-19
打赏
举报
回复
把注释删掉以后再把文件从窗口上先叉掉,再重新打开就不会报错了。
Inhibitory
2015-06-02
打赏
举报
回复
@Override 就是说要 override 父类的方法,得看 Telephone 的代码才知道具体问题。
The
method
of
type
must
overr
ide
a
super
class
method
解决方式, myeclipse,
java
, web
NULL 博文链接:https://thaipine.iteye.com/blog/2354220
The
method
xxx must
overr
ide
or
implement
a
super
type
method
代码报错:The
method
xxx must
overr
ide
or
implement
a
super
type
method
1. 报错如下 The
method
xxx must
overr
ide
or
implement
a
super
type
method
2. 原因 见下图标注 可以看到报这个错的原因是: 泛型
中
的KEYIN 和 reduce方法
中
的KEYIN 不统一。所以报错...
Java
:The
method
xxx of
type
xxx must
overr
ide
or
implement
a
super
type
method
_对@
Overr
ide
注解作用的思考
问题
描述 @
Overr
ide
报错 The
method
xxx of
type
xxx must
overr
ide
or
implement
a
super
type
method
相关知识 @
Overr
ide
Overr
ide
的api文档说明: Indicates that a
method
declaration is intended to
overr
ide
a
method
declaration in a
super
type
. If a
method
is annotated wi
The
method
xxx of
type
xxx must
overr
ide
or
implement
a
super
type
method
错误描述:The
method
xxx of
type
xxx must
overr
ide
or
implement
a
super
type
method
错误代码: @
Overr
ide
public void buildWalls() { // TODO Auto-generated
method
stub } 明明是根据自动提示复写的方法,但是保存之后就报错。 后来百度才知道原来是我写的继承的类没有保存,一保存就不报错了。 ...
The
method
xxx() of
type
xx must
overr
ide
or
implement
a
super
type
method
出错情况:The
method
xxx() of
type
xx must
overr
ide
or
implement
a
super
type
method
在一个UserDao
中
定义了几个方法,然后在UserDaoImpl
中
实现方法(几个方法先后写的),原本前面几个写着标注@
Overr
ide
都没
问题
,但到后面实现的两个方法都出现了该错误:The
method
xxx() of
type
xx ...
Eclipse
58,453
社区成员
49,451
社区内容
发帖
与我相关
我的任务
Eclipse
Java Eclipse
复制链接
扫一扫
分享
社区描述
Java Eclipse
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章