what is the difference between HashMap and Hashtable

Answer Posted / rohit

Hash table is Synchronized whereas Hash map is Asynchronized.
Hash Map allows one null key and multiple null values
whereas Hash Table does not allow null...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of operations in java?

710


How are variables stored in memory?

839


Why java is object oriented?

813


What is comparator in java?

771


What is string length in java?

729


What are the methods of object class ?

821


What do you understand by looping in java? Explain the different types of loops.

821


What is join () in java?

761


What are the advantages of defining packages in java?

783


What is hashing in java?

806


How does regex work?

764


What do you mean by platform independence? What is an interface?

817


What are the types of web technologies?

814


Explain the importance of thread scheduler in java?

815


when you will synchronize a piece of your code? : Java thread

785