Which interface provides the capability to store objects using a key-value pair?



Which interface provides the capability to store objects using a key-value pair?..

Answer / Manoj Kumar Mishra

The Map interface in Java provides the functionality of storing key-value pairs. Some common implementations include HashMap, TreeMap, LinkedHashMap, and HashTable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is a spanning tree?does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?

1 Answers  


What is the difference between list and arraylist?

1 Answers  


What is bubble sort in data structure?

1 Answers  


What are the types of collection?

1 Answers  


Name a few tree data structure application.

1 Answers   Accenture,


what is the difference between singly and doubly linked lists?

1 Answers  


What is difference between hashmap and hashset?

1 Answers  


What is the difference between linked list and array?

1 Answers  


Which collection type is used to maintain uniqueness of data structure?

1 Answers  


What do you mean by the term “percolate down”?

1 Answers  


How do we search a specific element in an array?

1 Answers  


Given an array of integers, devise a program to replace every element with the next greatest element on the right side in the array. Also, replace the last element with 5 as there no element on the right side of it.

1 Answers   Wipro,


Categories