Ask Question
9 February, 05:55

What is one property of a good hash code?

+3
Answers (1)
  1. 9 February, 09:35
    0
    Answer: - Major property of a good hash code is that objects which are equal should return the same hash code.

    Explanation: Hash codes is a numeric value which is used for identify a object while a equality testing. Hash code can occupy the value of any length and then returns a fixed length value. The value of hash codes are variable.

    If two objects are equal then by the method of equal (object) if the hashcode () function is called on both the objects, they produce the same value.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is one property of a good hash code? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers