A

Admin • 828.03K Points
Coach

Q. Which of these is used to check the presence of a specific mapping?

  • (A) containsEntry()
  • (B) entryExists()
  • (C) containsKey() and containsValue()
  • (D) mapContains()
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin
You can check mapping presence using `containsKey()` and `containsValue()`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.