标签:
package jihe;
import java.util.ArrayList;
import java.util.List;
public class xitizuoye {
public static void main(String[] args) {
List<String> al = new ArrayList<>();
for(int i = 1; i < 101; i++)
{
al.add("" + i);
}
al.remove(10);
for(String s : al)
{
System.out.println("集合内容:" + s);
}
}
}
标签:
原文地址:http://www.cnblogs.com/OldZhao/p/4886178.html