Which one is the superclass of all generic objects?
-
<?>
-
<Object>
-
<? extends Object>
-
None of these
B
Correct answer
Explanation
In Java generics, Object is the implicit upper bound for all type parameters. Every generic type ultimately extends Object, making Object the superclass of all generic objects. The unbounded wildcard > is shorthand for extends Object>, not a superclass itself.