@SuppressWarnings("rawtypes")
@Test
public void bb(){
List list=Arrays.asList("1","2","3");
System.out.println(list);
String[] arr={"1","2","3","4"};
list=Arrays.asList(arr);
System.out.println(list);
Integer nums[]={1,2,3,5}; //这个细节一定要小心 Integer
list=Arrays.asList(nums);
System.out.println(list);
}
Integer 打印的值是[1, 2, 3, 5]
int 打印的值是[[I@6aa95b] |