Finding Function

Report a typo

A user wants to retrieve a value associated with a key from the HashMap and receive -1 if the key is not found. Which of the following methods is best for the task?

Select one option from the list
___

Create a free account to access the full topic