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.
精彩评论