可变参数传入结果后不输出,老是输出这个地址,不太懂希望大家帮我解答一下
你可以把num看作是一个int[] int数组,直接放在System.out.println(num);里是输出他的hashCode改成System.out.println(Arrays.toString(num));即可