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
What is the purpose of stub and skeleton?
What's a method in programming?
What is the use of arraylist class in java?
Difference between a process and a program?
what is singleton in java?
Whats the difference between notify() and notifyall()?
What are the differences between getting and load method?
State two differences between C and Java.
Difference between static synchronization vs. Instance synchronization?
What is array length?
What is string in java? String is a data type?
What is the difference between this() and super() in java?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is a stringbuilder?
Is hashset ordered?