Question 3
Back to Exercise
What does Object's equals() compare?
- A All fields
- B References – it returns this == obj Correct
- C Hash codes
- D toString results
Correct Answer: Option B
Override it for content equality.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!