DEV Community

Discussion on: Coming from Javascript, Arrays in Java are confusing?

Collapse
 
hugueschabot profile image
Hugues Chabot

Java arrays are confusing even for Java programmers 😃. It's the only type that is covariant and reified. Like you wrote, prefer lists to arrays.