+ 2
What will happen if we put a key object in a HashMap which is already there?
5 Answers
+ 1
the value of the key will be replaced by new one.
+ 1
seriously.. The best way to figure stuff like that out is experiment.
0
try it
0
It will be overwritten
0
Yeah or just google it. But that applies to 90% of questions here