title: java: difference between map and hash table
body: <p>I don't understand this code <code>Map&lt;E, Integer&gt; d = new HashTable&lt;E, Integer&gt;(list.size());</code> : we create a new object but is it a map or a hashtable? what is the difference between the both of them? I thought that a map is just a way to put 2 element together like a key and its value (for exemple {3; Detroit})</p>