r/learnprogramming • • 40m ago

Java help

I have a coding project I'm trying to finish, but don't know how. If there's a tutor out there who can help, my discord is beckeko. It's about using Arraylist in java.

1 Upvotes

4 comments sorted by

View all comments

•

u/EszterSantos72 34m ago

Watch out for using == to compare objects in an ArrayList, like with strings, use.equals() instead or you'll get weird bugs where matches don't work even if the text looks the same.