Answers for "can we update values of a map via traversing"

C
0

can we update values of a map via traversing

Well, you can't do it by iterating over the set of values in the Map 
(as you are doing now), because if you do that then you have no reference to t
he keys, and if you have no reference to the keys, then you can't update the 
entries in the map, because you have no way of finding out which key was 
associated with
Posted by: Guest on September-03-2021

Code answers related to "can we update values of a map via traversing"

Code answers related to "C"

Browse Popular Code Answers by Language