All Questions
1 question
1
vote
2
answers
6k
views
Example of problem caused by casting Object[] to E[]
I've heard here and there that arrays contain runtime data about their type, making you unable to instantiate an E[] (E being a generic type parameter, for example in a class Foo<E>), and that ...