Can anyone tell me the difference between hash map and hash table?
I know that hash table does not allow any null values whereas Hash map does. Any other differences?
regards, Ginu Jacob
Nibin Jacob Panicker
posted 12 years ago
The main diffrence btw HashTable and HashMap is that HashTable methods are Threads-Safe(meaning they are synchronised methods) while HashMap is not ThreadSafe..So basically HashTable is used when more than one thread will be accessing it..