New course! Every coder should learn Generative AI!
Try a free lesson0
In HashMap if you have element value can you access to the key?
1 Answer
+ 1
Not directly. And the reason is, there's no guarantee that unlike the keys, the values will be unique.