public static List<String> temp = new List<String>(Arrays.asList("ab","cd","ef"));
或者
public static List<String> list2 = new ArrayList<String>();
static{
list2.add("aaa");
}
public static List<String> temp = new List<String>(Arrays.asList("ab","cd","ef"));
或者
public static List<String> list2 = new ArrayList<String>();
static{
list2.add("aaa");
}