小编Bou*_*n_7的帖子

可选返回类型:尝试使用不兼容的返回类型

错误:

'get()' in 'test.B' clashes with 'get()' in 'test.A'; attempting to use incompatible return type
Run Code Online (Sandbox Code Playgroud)

代码如下,请问如何解决?谢谢!

'get()' in 'test.B' clashes with 'get()' in 'test.A'; attempting to use incompatible return type
Run Code Online (Sandbox Code Playgroud)

java generics

-1
推荐指数
1
解决办法
117
查看次数

标签 统计

generics ×1

java ×1