集合框架總結

定義 java中的集合 是管理一組對象的容器 詳細介紹 1 Collection是父類接口。定義了可用於操作List、Set和Queue的方法--增刪改查; 2 List接口及其實現類 l  List List代表一個元素有序、且可重複的集合,集合中的每個元素都有其對應的順序索引。 l  ArrayList     List list = new ArrayList(); ArrayList 數組
相關文章
相關標籤/搜索