Is there any difference between :
Class<?>
and Class<? extends Object>
?
Thanks
From stackoverflow
-
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 comments:
Post a Comment