Difference between Hash Table and Hash Map?

Answer Posted / guru

hashtable is Synchronised where as hashmap is not.
hash table are legacy classes hashmap are collections

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is procedure overloading?

1802


What is the type of lambda expression?

542


Explain treeset?

593


Can you tell me range of byte?

566


What is xslt in java?

526






What are the ways in which a thread can enter the waiting state?

515


What is the use of a conditional inclusion statement in Java ?

590


What is difference between calling start() and run() method of thread?

563


What is the destroy method?

592


What is the statements?

595


Why spring singleton is not thread safe?

570


What is the purpose of the enableevents() method in java programming?

592


What is contract between hashcode and equal method?

574


What is lambda programming?

500


What are different types of control structures?

495