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
Is java an ide?
What are the three parts of a lambda expression? What is the type of lambda expression?
Difference between nested and inner classes ?
How can we find the actual size of an object on the heap?
What is executor memory?
How the metacharacters are different from the ordinary characters?
how to create multithreaded program? : Java thread
What is object english?
What do you understand by the term polymorphism?
What is module in project?
What are the restriction imposed on a static method or a static block of code?
What is main method?
Is null function in java?
What is boolean query?
Can we have any other return type than void for main method?