«
Prev
»
Next
Java / Map and its implementations
Similarities between HashMap and HashTable in Java.
- Both store the data in the form of key-value pairs.
- Both use Hashing technique to store the key-value pairs.
- Both implement Map interface.
- Both doesn't maintain insertion order for elements.
- Both give constant time performance for insertion and retrieval operations.
More Related questions...
Comments & Discussions