A

Admin • 828.70K Points
Coach

Q. Which of the following methods is used to access all key-value mappings?

  • (A) entries()
  • (B) getAll()
  • (C) entrySet()
  • (D) mapAll()
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin
`entrySet()` returns a set view of all key-value mappings.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.