day16-ArrayList-List-Vector-LinkedSet-set-TreeSet-HashSet

  01     ArrayList集合(案例)  (array.add("hello");    //往ArrayList集合裏面添加內容  ) 02   三種迭代方式:迭代器迭代; 普通for循環; 加強for循環 03  加強for循環 ----加強for是用來替迭代器。 03  加強for循環的三種迭代方式:1. 遍歷int數組  2. 遍歷字符串數組  3. 遍歷集合  04    Li
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息