a) 1

b) 2

c) 3

d) unlimited till bucket is found

### 1 thought on “While finding the correct location for saving key value pair, how many times the key is hashed?”

### Leave a Comment

You must be logged in to post a comment.

a) 1

b) 2

c) 3

d) unlimited till bucket is found

You must be logged in to post a comment.

b

Explanation: The key is hashed twice; first by hashCode() of Object class and then by internal hashing method of HashMap class.