Solved

Which of the Following Statements About Hash Functions Is NOT

Question 69

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents