n_codrington
09-23-2008, 01:34 PM
Hey guys. I have the code:
int[] nums = {2, 7, 1, 8, 2, 8};
Arrays.asList(nums);
System.out.print(Arrays.size(nums));
...it compiles everything before System.out...etc.
And I get the exception: "cannot find symbol - method size(int[])"
What's wrong?
int[] nums = {2, 7, 1, 8, 2, 8};
Arrays.asList(nums);
System.out.print(Arrays.size(nums));
...it compiles everything before System.out...etc.
And I get the exception: "cannot find symbol - method size(int[])"
What's wrong?