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
Does hashset allow duplicates in java?
What are the legal parameters?
What are the special characters?
What is an eror in java?
Describe what a thread-local variable is in java?
What is logical variable?
Does substring start with 0?
What is arrays fill in java?
whatis Home interface and Remoteinterface? with example?
what is object slice?
What are measurable parameters?
How much ram can a 64 bit processor theoretically?
Can we override the static method?
What is percentage in java?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?