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
Is a class an object?
What is the purpose of finalization in java programming?
Is array dynamic in java?
Explain the importance of finally over return statement?
What are the restrictions that are applied to the java static methods?
How we can generate random numbers in java?
Which collection allows duplicate values in java?
What is garbage collection? Can it be forced to run?
What is natural ordering in java?
Is 0 true or false?
Is constructor inherited?
How do you use compareto method?
Java Compiler is stored in JDK, JRE or JVM?
What are the object and class classes used for?
What is a default constructor and also define copy contrucyor?