What is the difference between a hashmap and hashtable?



What is the difference between a hashmap and hashtable?..

Answer / Vikrant Kumar

The terms 'hash map' and 'hashtable' are often used interchangeably, but technically, a hashtable is a more general term that can refer to any data structure that implements a hash function. A HashMap in Java, however, is a specific implementation of a hashtable with specific methods and properties.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is a multiset table?

1 Answers  


What data type is array?

1 Answers  


Define a full binary tree ?

1 Answers  


how to search an element in sorted linked list with time complexity is O(log n).

3 Answers   Wipro,


Are collections thread safe?

1 Answers  


What is the best complexity of bubble sort?

1 Answers  


Do sets allow duplicates?

1 Answers  


Why arraylist is not efficient for manipulation?

1 Answers  


What is the best time complexity of bubble sort?

1 Answers  


Define linked list data structure.

1 Answers  


How many types of lists are there?

1 Answers  


What is sorting problem?

1 Answers  


Categories