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
How do you check if two given string are anagrams?
Why do we use threads in java?
What is arraylist class in java?
Is array size fixed in java?
What is return used for in java?
What is a method in programming?
Which eclipse is best for java?
What is the different between get and post?
What are user defined exceptions?
What is regex in java?
What are alternatives to java serialization?
List the different types of classloaders in java.
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What is constant in programming?
What is the use of static class?