System.out.println(Arrays.toString(array)); or if your array contains other arrays as elements:
System.out.println(Arrays.deepToString(array));Read full article from Simplest way to print an array in Java - Stack Overflow
System.out.println(Arrays.toString(array)); or if your array contains other arrays as elements:
System.out.println(Arrays.deepToString(array));Read full article from Simplest way to print an array in Java - Stack Overflow
No comments:
Post a Comment