how to print array in java using for loop

Java
for(int i = 0; i < Array.length; i++)
        System.out.println(Array[i]);
Source

Also in Java: