java——arr == null || arr.length == 0 这两者是不同的: arr == null; int[] arr = null; arr.length == 0; int[] arr =new int[0];