幾種遍歷集合的方法

package 容器2; import java.util.*; public class IteratorTraverse { public static void main(String[] args) { Collection<Integer>collection = new ArrayList<Integer>(); for(int i=1;i<6;i++){ collec
相關文章
相關標籤/搜索