Java Professional — Easy
Key points
- HashMap implements the Map interface for key-value pair storage
- List and Set are not interfaces that HashMap implements
- Collection is a superinterface of Map, but HashMap directly implements Map
Ready to go further?
Related questions
