Solved

Which of the Following Statements About Hash Functions Is NOT

Question 10

Multiple Choice

Which of the following statements about hash functions is NOT correct?


A) A hash function produces a unique integer-valued hash code value for each distinct object.
B) A good hash function will minimize the number of objects that are assigned the same hash code.
C) Using a prime number as a hash multiplier will produce better hash codes.
D) If you supply your own hashCode method for a class, it must be compatible with that class's equals method.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions