A

Admin • 828.03K Points
Coach

Q. Which of the following operations is NOT supported by `Map.of()`?

  • (A) Iteration
  • (B) Reading values
  • (C) Adding new entries
  • (D) Accessing keys
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin
`Map.of()` creates an immutable map that does not allow adding or removing entries.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.