title: issue creating a double array list
body: <p>Is there any reason the fallowing code would give A compile error ?</p>
  
  <pre><code>Import java.util.*;
  
  public class Storageclass
  // class used to store the Student data 
  {
   // creates the private array list needed. 
   private ArrayList&lt;String&gt; nameList = new ArrayList&lt;String&gt;();
   private ArrayList&lt;double&gt; GPAList = new ArrayList&lt;double&gt;();
   private ArrayList&lt;double&gt; passedList = new ArrayList&lt;double&gt;();
  }
  </code></pre>
  
  <p>this is in a class access by a main file there is more in the class by it not part of this error. when I run this the two double arrayList give me this error.</p>
  
  <pre><code>Storageclass.java:8: error: unexpected type
   private ArrayList&lt;double&gt; GPAList = new ArrayList&lt;double&gt;(1);
                     ^
    required: reference
    found:    double
  </code></pre>
  
  <p>I am not sure why or what that error means any help would be appreciated. </p>
  
  <p>~ Thanks for the help was a embarrassingly novice mistake I made, but hope full this can help some other person. </p>