title: Generic array creation error
body: <p>I am trying do something like this:-</p>
  
  <pre><code>public static ArrayList&lt;myObject&gt;[] a = new ArrayList&lt;myObject&gt;[2];
  </code></pre>
  
  <p>myObject is a class. I am getting this error:- Generic array creation (arrow is pointing to new.)</p>