Ask Question
20 April, 13:30

What is one property of a good hash code?

+5
Answers (1)
  1. 20 April, 13:49
    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?
Find an answer to your question 👍 “What is one property of a good hash code? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers