int[] nums = {1,2,3,4,5,6};
System.out.println(nums);
System.out.println(Arrays.toString(nums));
打印一个数组,这两句结果为什么不同呢?
Mountain_yang
相关分类