0 votes
1 view
in Java by (16.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 (34.9k points)
edited ago 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:

  

...