Cross posted at: ArrayList problem, probably very simple.
Type: Posts; User: Norm
Cross posted at: ArrayList problem, probably very simple.
Where are the contents of the two arraylists printed out?
For debugging: Ideally their contents should be printed before and changes made and after and changes are made so the results of the code...
"Find" is often a menu item in and editor that is used to find a String in the text of the file being edited.
I used it to find the source line I posted.
You still need to do this:
Can you post...
Can you post the program's output that shows what you are talking about?
healthypercell.add(nr); //<<<<<<< adds something here
Did you try using Find to see it add() was called?
Please explain what the problem is. Show the program's output and explain what is wrong with it and what you want it to be.
Why do you expect them to be different?
Please edit your post and...