a) List<? extends Number>
b) List<extends ? Number>
c) List(? extends Number)
d) List(? UpperBounds Number)
Which of these is an correct way making a list that is upper bounded by class Number?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of these is an correct way making a list that is upper bounded by class Number?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!