public class TestArray2{
public static void main(String[] args){
int[] a = {1,2,3,4,5,6};
int j=6;
for(int i=0;i<=j+4;i++){
a[i] = j;
j--;
System.out.println(a[i]);
}
}
}
public class TestArray2{
public static void main(String[] args){
int[] a = {1,2,3,4,5,6};
int j=6;
for(int i=0;i<=j+4;i++){
a[i] = j;
j--;
System.out.println(a[i]);
}
}
}