Different ways of populating a list from an array
<p>What is the difference between these two styles of initialization : </p>

<pre><code>List&lt;String&gt; list = new ArrayList&lt;String&gt;(Arrays.asList(arr));
</code></pre>

<p>and     </p>

<pre><code>List&lt;String&gt; list = Arrays.asList(arr);
</code></pre>

<p>One thing that I can make out is that in the latter case, we are not using the <code>ArrayList</code> class. But then, which class's object (list) are we creating here ?</p>
