I want to know what will be the type parameter that the compiler infers when creating a List and its parameterized type is bounded with extends
or super
clauses.
List<? extends Number> numbersList = new ArrayList<>();
List<? super Integer> integersList = new ArrayList<>();