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
State the merge-sort principle and its time complexity.
What is java dot?
What does this () mean in constructor chaining concept?
how come we know the object is no more used in the class?
What is singleton service?
How variables are stored in memory?
Is list ordered in java?
What is getkey () in java?
what is the purpose of using rmisecuritymanager in rmi?
Give any two differences between C++ and java.
Write a program to calculate factorial in java?
What exactly is methodology?
How to convert string to char and vice versa?
What is methods and methodology?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.