Possible Duplicate:
Java.util.HashMap — why HashMap extends AbstractMap and implement Map?
Why would both a parent and child class implement the same interface?
WeakHashMap<K,V> is declared to both extend AbstractMap<K,V> and implement Map<K,V>.
But AbstractMap<K,V> already implements Map<K,V>. It looks like the implements
declaration is redundant.
What is the reason it was declared?