java - Why does HashMap both inherit AbstractMap and implement the Map interface?
We know that AbstractMap has already implemented the Map interface. Why does HashMap need to implement the Map interface one more time? Even if I remove the Map interface from the source code, no error will be reported. What is the reason for this?