What are the differences between Hashmap vs Hashtable in theory?
Are there are differences between hashmap and hashtable in theory? I don't mean in the concrete definitions given in Java (or the implementation), but in theory. Isn't a hashtable a map that uses hashing ... hence a hashmap? woliveirajr According to Wikipedia , they are the same: In computing, a hash table (hash map) is a data structure used to implement an associative array (...) According to Wikibooks , it's the same: A hash table, or a hash map, is a data structure that associates keys with values. Some answer on StackOverflow also states: Hashtable is often useful (they are also called