Traversing an ArrayList

An ArrayList is traversed with an indexed loop to size(), and removing while going forwards skips the next element, so a loop that removes must go backwards or not step on after a removal, and an enhanced for loop can't add or remove at all.

From AP Computer Science A.