title: How to set arrayList size as null?
body: <pre><code>String a []= {null,null,null,null,null};
  
  //add array to arraylist
  ArrayList&lt;Object&gt; choice = new ArrayList&lt;Object&gt;(Arrays.asList(a)); 
  
  System.out.println(choice.size());
  </code></pre>
  
  <p>Why the size of the arrayList <code>choice</code> is 5 when all the elements have been set to <code>null</code></p>