Does hashmap allow null keys?



Does hashmap allow null keys?..

Answer / Sandeep Kuamr

Yes, HashMap in Java allows null keys.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Which method will arrange the element of an array in alphabetical order?

1 Answers  


How does hashset maintain order?

1 Answers  


Why is the isempty() member method called?

1 Answers  


What is time complexity of binary search?

1 Answers  


Is a hashset ordered?

1 Answers  


Does linked list allow null values?

1 Answers  


what is the different between B-tree and B+ tree.

8 Answers   Syntel,


What do you mean by: Syntax Error, Logical Error, Runtime Error?

7 Answers   College School Exams Tests, Microsoft,


What should I learn first data structures or algorithms?

1 Answers  


Explain quick sort?

1 Answers  


Differentiate between file and structure storage structure.

1 Answers  


What is the difference between Array and Arraylist?

1 Answers  


Categories