Difference between Hash Table and Hash Map?

Answer Posted / guest

HashTable is synchronized where as HashMap is not.
HashMap allows null values for (key,value) for only once
where as HashTable does not.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between size and length in java?

528


Can we clone singleton class in java?

529


What is foreach loop in java?

544


How to reverse string in java?

623


What is java’s garbage collected heap?

545






What causes memory leaks in java?

500


What is void in java?

602


Is a method a procedure?

567


What is mnemonic code?

555


What is the difference between int and integer in java?

527


What is the public field modifier?

547


Why hashset is used in java?

542


What is a control variable example?

540


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1677


Can you change array size in java?

541