Is there a difference between:
Class<?> And Class<? extends Object> Class<? extends Object> ?
Class<?>
Class<? extends Object>
thanks
It is actually the same
Nope. They are equivalent.
The same thing, "cos , each class extends Object .
This is similar to saying
class MyClass
and
class MyClass extends Object
- same.