title: Why is it preferred to use Lists instead of Arrays in Java?
body: <p>Many people and authors suggested to us to use list than array.</p>
  
  <pre><code>List &lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();
  list.addElement(1);
  ....
  </code></pre>
  
  <p>What it is the reason behind it?</p>