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

Is null == null in java?

847


How many digits is int32?

721


Which class is the superclass for all the classes?

751


What is meant by 'Class access modifiers'?

795


Can bool be null?

725


Explain about procedural programming language or structured programming language and its features?

766


What is array class in java?

777


What is the symbol for line break?

836


What are the advantages of unicode?

771


What is assembly used for?

753


What is a databasemetadata?

721


What is a method in coding?

785


What is better- service oriented or batch oriented solutions?

1869


what is the purpose of using rmisecuritymanager in rmi?

753


What is the different types of functions?

760