A

Admin • 828.03K Points
Coach

Q. Which interface in Java defines a key-value pair collection?

  • (A) Set
  • (B) List
  • (C) Map
  • (D) Queue
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin
The Map interface in Java represents a collection of key-value pairs.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.