集合框架總結

問題1:集合和數組的區別? 數組不能動態擴張,需在定義的時候指定長度;集合則無須指定長度,可動態擴張。 集合框架的體系 1、Collection接口 Collection接口 List接口 Queue接口 Set接口 ArrayList Vector LinkedList PriorityQueue HashSet LinkedHashSet SortedSet接口 TreeSet Collect
相關文章
相關標籤/搜索