Question: what is the difference between hashmap and map java?
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.