int[] nums1 = new int[]{1,2,3};
Integer[] nums2 = new Integer[]{1,2,3};
System.out.println(Arrays.asList(nums1));
System.out.println(Arrays.asList(nums2));
打印结果是否一致?
Integer[] nums2 = new Integer[]{1,2,3};
System.out.println(Arrays.asList(nums1));
System.out.println(Arrays.asList(nums2));
打印结果是否一致?