Home » JAVA Programming » Generics » Question
  1. Which of these is an correct way making a list that is upper bounded by class Number?
    1. List(? UpperBounds Number)
    2. List(? extends Number)
    3. List
    4. List
    5. None of these
Correct Option: C

List



Your comments will be displayed only after manual approval.