System.out.println(li.size());//0 int [] arr = new int [20];System.out.println(arr.length);//20 length属性返回的数组的长度,SIZE方法返回的是元素的个数