Is there any difference between :
Class<?>
and Class<? extends Object>
?
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.