Is it possible to update a value of a key in HashMap in Java?

in java •  7 years ago 

You can update like this if you are reading data form a dataset :
Schermata 2017-08-24 alle 10.37.32.png

This way you can generalize better and update the value.

This post comes from my answer on Quora https://www.quora.com/Is-it-possible-to-update-a-value-of-a-key-in-HashMap-in-Java/answer/Alket-Cecaj?srid=n9bS

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

nice post, i follow you, plz like my post and follow me and comment too.