title: Initialize ArrayList with doubles
body: <p>I'm trying to initialize an ArrayListto use later in my code, but it seems like it doesn't accept doubles.</p>
  
  <p><code>public ArrayList&lt;double&gt; list = new ArrayList&lt;double&gt;();</code></p>
  
  <p>It gives an error under 'double', sayin "Syntax error on token "double", Dimensions expected after this token"</p>