array reverse loop code example Example: how to iterate through an array backwards java for (int counter = myArray.length - 1; counter >= 0; counter--) {