Why HashMap Extends AbstractMap and Implement Map

  1. Java.util.HashMap — why HashMap extends AbstractMap and implement Map?

  2. Java Collections: Interfaces and Abstract classes

  3. why does WeakHashMap implement Map whereas it is already implemented by AbstractMap?

  4. Why does HashMap implement Map if it extends AbstractMap?

你可能感兴趣的:(Why HashMap Extends AbstractMap and Implement Map)