java - Why does HashMap both inherit AbstractMap and implement the Map interface?
巴扎黑
巴扎黑 2017-05-17 09:59:01
0
1
649

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?

巴扎黑
巴扎黑

reply all(1)
黄舟

http://stackoverflow.com/ques...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!