r/learnprogramming • • 2h 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.

2 Upvotes

5 comments sorted by

View all comments

1

u/EszterSantos72 1h 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.