Difference between Hash Table and Hash Map?
Answer Posted / hemasankar reddy suggu
1)Hashtable method all are synchronized where as HashMap
does not Synchornized all methods
2)HAshtable object is thread safe where HashMap object is
not thread Safe
3)Hashtable perfomance is low where Hashtable performance is
High
4)null is not allowed in Hashtable but HAshMap null is allowed
5)Hashtable is Interduced in 1.0V where HashMap interduced
in 1.2V
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain features of interfaces in java?
What do you understand by copy constructor in java?
Can we override constructor in java?
What is the major drawback of internal iteration over external iteration?
How can I debug the Java security exceptions and AccessControlExceptions?
Does java have a compiler?
What is the size of int?
Tell me are there implementations for sorting and searching in the java libarary?
Is alive in java?
Is there any limitation of using inheritance?
how does the run() method in runnable work? : Java thread
How do you find the absolute value?
What is heterogeneous in java?
How are the elements of a gridbaglayout organized in java programming?
Can an interface be final?