A

Admin • 828.70K Points
Coach

Q. What is returned by `containsValue()` method?

  • (A) True if value exists
  • (B) Value
  • (C) Key
  • (D) Set of values
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin
`containsValue()` returns true if the specified value exists in the Map.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.