Solved

Which of the Following Statements About Hash Functions Is NOT

Question 98

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

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