r/learnprogramming • u/Diligent_Sector_7376 • 1h 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
2
u/lurgi 1h ago
Ask your question here.
2
u/softmirage82 1h ago
Post the actual error or what part of arraylist is confusing you, way more people will help here than over discord. like are you stuck on add/remove, looping through it, or sorting it?
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.