tags:

views:

121

answers:

3

Is there any difference between :

Class<?> and Class<? extends Object> ?

Thanks

+3  A: 

It is effectively the same

Diego Dias
+1  A: 

Nope. They are equivalent.

Brandon
+1  A: 

the same, 'cos every class extends Object.

it's analogous to saying

class MyClass

and

class MyClass extends Object

are the same thing.

Edwin