I have an ArrayList that contains some object, such as User, and each object has a name and password property. How can I
ArrayList
User
name
password
Just search through the ArrayList of objects you get from the user, and test for a name equal to the name you want to remove. Then remove that object from the list.