What is the function of the entry(K key, V value) method of the Map interface?

What is the function of the entry(K key, V value) method of the Map interface?



Answer: returns an unmodifiable Map.Entry object with the provided key and value in it.


Learn More :

Data Structures

Learn More Multiple Choice Question :