This is my array code and I need to print it in reverse.
public class Array1D { public static void main(String[] args) { int[] array = new int[3];
Just reverse the direction of your for loop. Right now it is counting from 0 to the length, have it count from the length to zero
for (int i = array.length-1; i >= 0; i--)