Course contentsShow
Java
Lesson 559 of 2,87013. The Object Class and Common MethodsPro lesson

The equals-hashCode Contract in Detail

Learn the precise rule: if a.equals(b), then a.hashCode() must equal b.hashCode().

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.