Skip to content
RED SAG Skills
mediumStudy question · answer published in Java interview questions, so no pointshash-mapjava

Overriding equals without hashCode

A Java class Point overrides equals to compare x and y but does not override hashCode. What happens with a HashSet<Point>?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions