Hello.
I want to ask you all how to remove an element from an arraylist?
Let's say the arraylist is made of the Integer elements: 23, 43, 40, 10;
I want to remove the number 43. How do I do that?
And don't tell me arraylist.remove(1); because this removes the element found at the given index, I don't want to remove elements by their index, because the arraylist will change all the time.
Want to do something like: arraylist.remove(element>Integer>43);
Please help. Thx