Answer Posted / siva kumar g.
Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Which is faster set or list in java?
What is an example of a keyword?
How is it possible for two string objects with identical values not to be equal under the == operator?
How do you sing an Applet ?
What is a substitution variable?
Can you run java program without main method?
What is a string what operation can be performed out with the help of a string?
What is difference between wait and notify in java?
What is difference between java and java ee?
What is meant by 'Class access modifiers'?
What is immutability in java?
What is the use of parseint in java?
Which is better 64 bit or 32 bit?
What is the difference between the prefix and postfix forms of the ++ operator?
Can we assign integer value to char in java?