print array tostring java code example
Example 1: java print array
System.out.println(Arrays.toString(arr));
Example 2: how to print array
System.out.println(Arrays.toString(array));
System.out.println(Arrays.toString(arr));
System.out.println(Arrays.toString(array));