标签:for void get str array system bsp eee test
import java.util.ArrayList;
import java.util.List;
public class Test2 {
public static void main(String[] args){
List list = new ArrayList();
list.add("000");
list.add("111");
list.add("222");
list.set(0, "aaa");
list.add(2,"eee");
list = list.subList(1,(list.size()));//包含1位置的数据
for(int i=0;i<list.size();i++){
System.out.println(list.get(i));
}
System.out.println(list.size());
}
}
//111
eee
222
3
标签:for void get str array system bsp eee test
原文地址:https://www.cnblogs.com/pengmn/p/9310624.html