Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to print an array in java

int[] myArray = {0, 1, 2, 3};
System.out.println(Arrays.toString(myArray));
//prints [0, 1, 2, 3]
 
PREVIOUS NEXT
Tagged: #print #array #java
ADD COMMENT
Topic
Name
5+8 =