集合
ArrayList list = new ArrayList(10) 中的list扩容几次?
该语句只是声明和实例了一个 ArrayList,指定了容量为 10,未扩容。
该语句只是声明和实例了一个 ArrayList,指定了容量为 10,未扩容