Re:The Unsound Playground: Java and Scala's Type Systems are...
by vbezhenar on Monday November 28, 2016 @02:12AM
(#13053921)
Yep, it's a huge hole. Arrays in Java should be Object[] or primitive[], not Animal[]. That's one of the reasons that object arrays should be avoided (something like ArrayList should be used instead).
[ Parent
| on HN ]
There are no comments on this comment yet.