java - Why does HashMap both inherit AbstractMap and implement the Map interface?
巴扎黑2017-05-17 09:59:01
0
1
688
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?
http://stackoverflow.com/ques...