What does the `equals()` method do in Java?
The `equals()` method checks if two objects are the same object in memory, returning true if they have the same reference.
Satisfactory! You're partly correct, but `equals()` is used for content comparison, not reference comparison.
Can you explain how to override `equals()` to compare object content rather than references?