Multiple choice technology programming languages

Which one is the superclass of all generic objects?

  1. <?>

  2. <Object>

  3. <? extends Object>

  4. None of these

Reveal answer Fill a bubble to check yourself
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.