int[] array1 = {1, 2, 3, 4, 5, 6, ,7, 8}; - working array1 = {1, 1, 1, 1, 2, 5, ,7, 8}; - NOT working
The first line works, but the second line does not work.
How can I initialize from the second line in one line of code?
java arrays
Peter Jul 01 '10 at 17:50 2010-07-01 17:50
source share