Java ArrayList multiplication
<p>Hello all I have the following line of code </p>

<pre><code>solution first = mylist.remove((int)(Math.random() * mylist));
</code></pre>

<p>Which give me an error stating </p>

<pre><code>The operator * is undefined for the argument type(s) double, ArrayList&lt;solution&gt;
</code></pre>

<p>I am trying to remove a random number in my arrayList from my ArrayList</p>

<p>Any help would be appriciated.</p>
