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
What is the significance of continue jump statement? Explain with an example.
Is char * a string?
What is the symbol for average?
What is incompatible types in java?
Can we catch more than one exception in a single catch block?
What is Session reduplication and how its done?
What are the default and parameterized constructors?
Why java is a platform independent? Explain
What is a condition in java?
What is the purpose of object oriented programming?
Why do we need strings in java?
Is there a case when finally will not execute?
What are the data types supported by java? What is autoboxing and unboxing?
What is factor r?
What's the purpose of using break in each case of switch statement?