Vidyalelo
Java Programming · Q6

Java Collections Framework

Programming · Java Programming · question 6

Q6

What is the purpose of the `Map` interface in the Java Collections Framework?

A.
To store a collection of objects
B.
To provide a stack data structure
C.
To store unique elements
D.
To store key-value pairs
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board