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 super?

593


What is java basic concept?

533


What are different types of states exist for a thread?

553


What is skeleton and stub? What is the purpose of those?

545


What is jagged array in java?

540






How do you write methodology?

566


What is the nested interface?

603


Explain the difference between private, public, package and protected in java?

608


What are the basic interfaces of java collections framework?

611


What are internal and external variables?

550


Give the hierarchy of inputstream and outputstream classes.

624


What is array pointers ?

609


What is generics in java interview questions?

543


What is the difference between an object-oriented programming language and object-based programming language?

578


What is e in java?

551