We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1549ffb commit e3f25e0Copy full SHA for e3f25e0
src/objects/equals_and_hashCode.md
@@ -63,9 +63,9 @@ class Main {
63
String c = "bca";
64
65
IO.println(a.hashCode());
66
- // a.equals(b) will return true, so they may or may not have the same hash code
+ // a.equals(b) will return true, so they will have the same hash code
67
IO.println(b.hashCode());
68
- // a.equals(c) will return false, so it's assumed they have a different hash code
+ // a.equals(c) will return false, so they may or may not have the same hash code
69
IO.println(c.hashCode());
70
71
Thing t1 = new Thing();
0 commit comments