public class java_variables {
public static void main(String []args) {
int[] Intarr = {5,10,15,20,25,30,35};
//Declaring int type variable inside the for loop
for (int ArrItem : Intarr) {
System.out.println("The numeric array value: " + ArrItem);
}
}
}