A

Admin • 802.91K Points
Coach

Q. Which method returns a collection view of the values contained in the map?

  • (A) values()
  • (B) getValues()
  • (C) valueSet()
  • (D) allValues()
  • Correct Answer - Option(A)
  • Views: 2
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin
The `values()` method returns a Collection of all the values in the Map.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.