r/learnprogramming • u/Diligent_Sector_7376 • 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
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.