what is the difference between HashMap and Hashtable
Answer Posted / arun rajesh
The HashMap class is roughly equivalent to Hashtable,
except that it is unsynchronized and permits nulls.
(HashMap allows null values as key and value whereas
Hashtable doesnt allow).
HashMap does not guarantee that the order of the map will
remain constant over time. HashMap is unsynchronized and
Hashtable is synchronized.
| Is This Answer Correct ? | 54 Yes | 12 No |
Post New Answer View All Answers
How do you change an int to a string?
What is encapsulation in java?
What is 16 bits called?
Is linked list a linear or non-linear data structure?
What is purpose of keyword void?
Can you instantiate the math class?
Is array a class?
Does chrome use java?
what is daemon thread and which method is used to create the daemon thread? : Java thread
What are decalarations?
Can inner class be public in java?
What methods are used to get and set the text label displayed by a button object?
Describe how to implement singleton design pattern in struts.
How does linkedlist work in java?
What is thread start?