java initialize array in one line

Solutions on MaxInterview for java initialize array in one line by the best coders in the world

showing results for - "java initialize array in one line"
Alan
01 Feb 2017
1int[] array = {1, 2, 3, 4, 5, 6, ,7, 8};