Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (20.3k points)

What are the differences between a HashMap and a Hashtable in Java?

Which is more efficient for non-threaded applications?

1 Answer

0 votes
by (40.7k points)
edited by

HashTable and HashMap are used to store data in key-value format but there are major differences between them as follows:

Want to learn Java from scratch! Here's the right video for you on Java provided  by Intellipaat:

  

Related questions

Browse Categories

...