what is the difference between HashMap and Hashtable

Answer Posted / sarithareddy

Hashmap work as like as Hashtable but hashtable is
synchronised hash map was not sychronized
hashtable does not allow null values
hashmap allows null values

Is This Answer Correct ?    123 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between this() and super() ?

583


What is the program development process?

567


What is google full form?

540


What does regex mean?

571


What does escaping a character mean?

537






What is lazy programming?

569


What is the difference between equals() and?

591


What is scope of a variable?

607


What is the difference between abstract classes and interfaces?

519


What is array size in java?

500


what is predefined function in java?

543


What is the effect of keeping a constructor private?

476


what is the major difference between linkedlist and arraylist in java?

556


What is passing parameters in java?

529


What type of language is java?

548