title: Can we have an Array of a collection?
body: <p>I was trying create an array of a collection as follows.</p>
  
  <pre><code>ArrayList&lt;Integer&gt; ar[]=new ArrayList&lt;Integer&gt;[50];
  </code></pre>
  
  <p>but it gives me an error -> <strong>generic array creation</strong>
  can anybody explain me why is it?</p>