how to invert an array java code example
Example: reverse array java
// reverse array
for(int i=intArray.length-1;i>=0;i--)
System.out.print(intArray[i] + " ");
// reverse array
for(int i=intArray.length-1;i>=0;i--)
System.out.print(intArray[i] + " ");