Examveda
Examveda

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: Option D


This Question Belongs to Java Program >> Collections Framework In Java

Join The Discussion

Related Questions on Collections Framework in java