Question
Which of these method is used add an element and corresponding key to a map?
Answer: Option A
Was this answer helpful ?
Maps revolve around two basic operations “ get() and put(). to put a value into a map, use put(), specifying the key and the value. To obtain a value, call get() , passing the key as an argument. The value is returned
Was this answer helpful ?
More Questions on This Topic :
Question 6. Which of these are legacy classes? ....
Question 7. Which of these is the interface of legacy? ....
Submit Solution