Which of these is an correct way making a list that is upper bounded by class Number?
(a) List<? extends Number>
(b) List
(c) List(? extends Number)
(d) List(? UpperBounds Number)
The question was posed to me at a job interview.
My question comes from Wildcards topic in portion Generics of Java
Select the correct answer from above options