title: What does it mean that Java arrays are homogeneous, but ArrayLists are not?
body: <p>If we have a Type[], we can only store Type or its subtypes in it. The same goes for ArrayList. So why is it said that one is homogeneous while the other is not?</p>