List中的set方法和add方法

public class TestList { public static void main(String[] args){    List l1 = new LinkedList();    for(int i=0; i<=5; i++){     l1.add("a"+i);    }    System.out.println(l1);    l1.add(3,"a100");    Sy
相關文章
相關標籤/搜索