为什么ArrayList有“implements List”?
2022-09-01 02:32:26
在集合框架中,我们有接口和类:ListAbstractList
AbstractList implements List
并延伸和ArrayListAbstractList
implements List
我的问题是:为什么有这个条款?ArrayListimplements List
如果 和 ,我们能不能说,那个?ArrayList extends AbstractListAbstractList implements ListArrayList implement List