Difference between Hash Table and Hash Map?
Answer Posted / devendra.m
HashMap and HashTable both are equal...
HashMap is non-synchronized one,where as HashTable
synchronized one.
HashMap allows null as a key & value pair.
where as hashtable wont allows null as key & value pair.
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What is the final class modifier?
How to sort elements in a parallel array in java?
What is nested loop? What is dangling else condition in it?
What are the advantages of exception handling in java?
what is method reference in java 8?
Can we override the private methods?
What is sleep method?
What is final keyword in java?
Why we use methods in java?
What is an empty string in css?
What is finalize() function in java?
What is a variable and constant?
What is the final blank variable?
Which is better stringbuffer or stringbuilder?
Can we define private and protected modifiers for the members in interfaces?