为什么有两种List? Java集合框架定义了一个interface,称为List,并提供了两个实现方式,ArrayList和LinkedList。 如果你改变主意并决定使用ArrayList,你只....