Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.4k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.1k users

Browse Categories