Solved

Which of the Following Statements About Hash Functions Is NOT

Question 16

Multiple Choice

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


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

Correct Answer:

verifed

Verified

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

Related Questions