标签:
import java.util.ArrayList; public class Bai { public static void main(String[] args) { ArrayList<Integer> a=new ArrayList<>(); for (int i = 0; i < 100; i++) { a.add(i,i+1); } a.remove(10); for(int b:a) { System.out.print(b+" "); } } }
标签:
原文地址:http://www.cnblogs.com/wenwen123/p/5537814.html