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];
If you really want to reverse the array, use:
ArrayUtils.reverse(int[] array)
But I suggest using a reversed loop.