开发者

reflection java ? extends

Is there any difference between :

Class<?> and Class<? extends Object&开发者_Python百科gt; ?

Thanks


It is effectively the same


Nope. They are equivalent.


The same, 'cos every class extends Object.

It's analogous to saying

class MyClass

and

class MyClass extends Object

are the same thing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜