Map is an interface, i.e. an abstract “thing” that defines how something can be used. HashMap is an implementation of that interface.
Map is an interface, i.e. an abstract “thing” that defines how something can be used. HashMap is an implementation of that interface.