Lets say I wanted to get each element from an ArrayList, how could that be done.

Im trying to use a for loop, but I cannot figure out how to get the element out of the ArrayList.