How to print array in java?
System.out.println(Arrays.toString(a));
🔗Reference: stackoverflow.com
🔗Source: Java Interview Questions and Answers