Vidyalelo
Java Programming · Q26

Java Collections Framework

Programming · Java Programming · question 26

Q26

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

A.
It provides methods for hashing elements
B.
It represents a synchronized collection
C.
It defines a comparison function for ordering elements
D.
It represents a key-value pair in a map
Answer

Answer: Option D

Solution

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