What is hashmap and map?



What is hashmap and map?..

Answer / Sulakshya Singh

HashMap and Map are interfaces in Java Collection Framework. Map is a root interface of the map classes that represent a collection of key-value pairs, where each key is unique. HashMap is a concrete implementation of the Map interface. It provides fast insertion, deletion, and search operations using hash tables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is deadlock? : Java thread

1 Answers  


how many ways to create Thread and which one is good? runnable interface ot Thread class?

3 Answers   Satyam,


what is difference between equals and ==?

1 Answers  


What is ordered map in java?

1 Answers  


What is persistence ?

2 Answers  


Is empty string in java?

1 Answers  


Is Cegonsoft Pvt.Ltd. a good Institute?

4 Answers  


What is a top level class in java?

1 Answers  


I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?

8 Answers   KPIT,


can I implement my own start() method? : Java thread

1 Answers  


How you can force the garbage collection?

1 Answers  


What are the latest versions in JAVA related areas?

3 Answers   Netcraft,


Categories