KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This compiles (1.6) List<? extends Object> l = new ArrayList<Date>(); But this does not List<List<? extends Object>> ll = new ArrayList<List<Date>>(); with the error of Type mismatch: cannot convert from ArrayList<List<Date>> to List<List<? extends Object>> Could someone explain why? Thanks EDIT: edited for being consequent
Tags (comma-separated)
Save Edits
Cancel