Question: what is the difference between a map and a hashmap?
Answer: The basic difference is : Map is an interface, i.e. an abstract "thing" that defines how something can be used. HashMap is an implementation of that interface.