Hello all I have the following line of code
solution first = mylist.remove((int)(Math.random() * mylist));
Which give me an error stating
The operator * is undefined for the argument type(s) double, ArrayList<solution>
I am trying to remove a random number in my arrayList from my ArrayList
Any help would be appriciated.
mylistmyListis declared asArrayList<solution>