Difference between Hash Table and Hash Map?

Answer Posted / ranganathkini

Hashtable and HashMap are more less similar to each other
except that the HashMap is unsynchronized and allows nulls
whereas Hashtable is synchronized and does not permit nulls.

Is This Answer Correct ?    27 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the loops in java?

743


Is zero a positive integer?

771


What is instance example?

716


Difference between stack and queue?

794


When is the finalize() called? What is the purpose of finalization?

824


How much ram can a 64 bit processor theoretically?

669


What is a class reference?

770


What is hashmap in java?

813


What is bubble sort in java?

845


What is assembly condition codes?

754


Is there any tag in htm to upload and download files?

821


How many bits is a 64 bit byte?

744


What is a function easy definition?

734


What is the difference between the paint() and repaint() methods in java programming?

881


Which class cannot be a subclass in java?

718