Qus:    What will happen if we put a key object in a HashMap which is already there?
Dec 24, 2021 05:29 1 Answers Views: 153 SANJAY
Prev Next
Answers (1)
ROHAN Jan 13, 2022 22:44
Answer:   HashMap always contains unique keys. If same key is inserted again, the new object replaces the previous object.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.

Let`s Connect