title: is memory contiguous allocated for arraylist?
body: <p>when we use new ArrayList() is memory contiguous allocated?
  if we call list.add(e) 10 times, will all elements contiguous stored in memory by add order, or it is randomly stored in memory?</p>
  
  <p>thanks.</p>