New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Look into my code:
https://code.sololearn.com/cK2H7CdVEq45/?ref=app
In the comments you'll find resources about equals() and hashCode()
If you override equals() you also need to override hashCode().