A hashtable is a container just like an array or a map. You can use an array to implement a hash table, but they are not the same.