KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In Java, why can't an array be a Type Variable's bound, but can be a Wildcard's bound? You can have: List< ? extends Integer[] > l; but you can't have: class MyClass< T extends Integer[] > { } // ERROR! Why?
Tags (comma-separated)
Save Edits
Cancel