Multiple choice technology web technology

hashCode is unique for every object

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The hashCode contract specifies that unequal objects may share the same hash code, known as a hash collision. Thus, hash codes are not strictly unique for every distinct object.