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

Which sorting is used in arrays sort in java?

592


Can memory leak in java?

591


Explain Basics of OOP Language in java

596


What modifiers may be used with a top-level class?

580


What is thread safe java?

501






Why parsing is done?

511


What is java volatile?

549


Is void a data type?

540


What is another word for methodology?

523


Explain the importance of finally over return statement?

614


Tell me how many ways are there to initialise an integer with a constant.

650


What is protected access modifier?

588


What does serializing data mean?

529


Is void a keyword in java?

604


Is jdk required on each machine to run a java program?

765