社区
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
我把注释删除掉了以后还是不行
求大神解释,在线等谢谢
...全文
6804
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
解决方式
今天遇到个
问题
,在网上找到解决方法,特此做个记录。原始出处:http://lovelydd.blog.51cto.com/3759643/927419今天做struts2上传文件的时候出现了这个
问题
:The
method
execute()of
type
UploadActionmust
overr
ide
or
implement
a
super
type
method
...
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
addUser(User) of
type
UserServiceImpl must
overr
ide
or
implement
a
super
type
method
错误
ServiceImpl层实现Service接口报错:The
method
addUser(User) of
type
UserServiceImpl must
overr
ide
or
implement
a
super
type
method
错误 提示删除 @
Overr
ide
原因:Service层代码未保存 ...
JAVA
编译错误: must
overr
ide
or
implement
a
super
type
method
翻译:必须重写或实现父类型 原因:未重写或实现父类型(参数,函数名,返回类型不一样等原因),或者是父类或接口待重写函数未保存的原因!!
The
method
buyLow(String, int) of
type
buyServiceImpl must
overr
ide
or
implement
a
super
type
method
The
method
buyLow(String, int) of
type
buyServiceImpl must
overr
ide
or
implement
a
super
type
method
错误原因:刚写的接口没有保存导致实现类报错 保存一下接口就好了
Eclipse
58,440
社区成员
49,457
社区内容
发帖
与我相关
我的任务
Eclipse
Java Eclipse
复制链接
扫一扫
分享
社区描述
Java Eclipse
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章