ArrayList<Integer> x = new ArrayList<Integer>();
     x.add(3);
     x.clear();
     for(Integer ww: x){
        System.out.println(ww);是这样的吗?