+ 2

Can anyone tell that in hashmap if we put same key then there will be change in mapping

Java

19th Aug 2020, 4:14 AM
Aman[#Wizard]
Aman[#Wizard] - avatar
2 odpowiedzi
+ 9
Old value of that key will be replaced with the new value(which you have assigned currently)
19th Aug 2020, 4:25 AM
chaithra Gowda
chaithra Gowda - avatar
+ 1
#Chaithra Gowda Thank u for ur help😊
19th Aug 2020, 4:26 AM
Aman[#Wizard]
Aman[#Wizard] - avatar