Look up the return type of ArrayList.add(). Why are you trying to assign that to your ArrayList variable?
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Good question. Did it solve the problem? Does the method do what you intend?
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847