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 nested class in java?
What is meant by oops concept in java?
a thread is runnable, how does that work? : Java thread
How do you declare an array that will hold more than 64KB of data?
What is yield () in java?
What is the use of static class?
What are the difference between composition and inheritance in java?
Is static a keyword in java?
Can we start a thread twice in java?
Which method cannot be overridden in java?
Is 64bit faster than 32 bit?
Can an interface be final?
What is meant by data hiding/encapsulation?
Define locale.
How do I remove a character from a string in java?