Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Collection addAll method parameters too restrictive

851002Mar 28 2011 — edited Mar 31 2011
Can anyone tell me why Java Sun does not allowed to add elements to Collection using addAll(List<?>) instead of addAll(List<? extends E>)?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2011
Added on Mar 28 2011
24 comments
626 views