ArrayList : How does the size increase?
<p>I have a basic question on Java Array List.</p>

<p>When a Array List is declared and initialized using default constructor, memory space for 10 elements will be created. 
Now, When I add 11th element, what happens? Will a new memory space created with 20(or more ) element capacity(This requires copying elements from 1st memory location to new location) OR some thing else?</p>

<p>I checked <a href="http://download.oracle.com/javase/1.4.2/docs/api/java/util/ArrayList.html">here</a>. But I didn't find an answer.</p>

<p>Please share the knowledge. 
Thanks.</p>
