diff --git "a/data/1.Java\345\210\235\351\230\266/7.\351\233\206\345\220\210/8.\346\225\260\347\273\204\345\210\227\350\241\250/arraylist.md" "b/data/1.Java\345\210\235\351\230\266/7.\351\233\206\345\220\210/8.\346\225\260\347\273\204\345\210\227\350\241\250/arraylist.md" index d3f4dbd6592e58a2d74cc71cb8f15b67d03a7f88..e32ae38476263b5db3a514c043e6f15180f9adea 100644 --- "a/data/1.Java\345\210\235\351\230\266/7.\351\233\206\345\220\210/8.\346\225\260\347\273\204\345\210\227\350\241\250/arraylist.md" +++ "b/data/1.Java\345\210\235\351\230\266/7.\351\233\206\345\220\210/8.\346\225\260\347\273\204\345\210\227\350\241\250/arraylist.md" @@ -4,7 +4,7 @@ ## 答案 -ArrayList中的元素是有序的 +ArrayList 占用的内存等于所有元素在内存中的尺寸之和。 ## 选项 @@ -14,8 +14,20 @@ ArrayList底层是基于数组来实现容量大小动态变化的 ### B -ArrayList的扩容机制为首先扩容为原始容量的 1.5 倍 +ArrayList 实现了 List 接口 + +### C + +ArrayList 的修改速度接近数组,而插入和删除速度接近链表 ### D -所有都不是 +ArrayList 实现了 Iterable 接口 + +### E + +ArrayList 实现了 Collection 接口 + +### F + +所有都对