안녕하세요 모든 I가 나에게 내 ArrayList를자바 ArrayList를 곱
에서 내 ArrayList의에 임의의 숫자를 제거하기 위해 노력하고The operator * is undefined for the argument type(s) double, ArrayList<solution>
내용의 오류를 줄 코드
solution first = mylist.remove((int)(Math.random() * mylist));
의 다음 행
도움이 될 것입니다.
'mylist'에 대한 선언문을 포함하십시오. – amphibient
@foampile 오류 메시지에서'myList'는'ArrayList'으로 선언되었습니다 –