Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to print multi dimension array in java using for each loop

for (int[] val : array1) {
   System.out.println(Arrays.toString(val));
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #multi #dimension #array #java #loop
ADD COMMENT
Topic
Name
3+8 =