You can update like this if you are reading data form a dataset :
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
nice post, i follow you, plz like my post and follow me and comment too.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit