What are ways to iterate over the elements of myArray?

for (String e : myArray)for (int i = 0; i < myArray.length; i++)dowhile (true)

Excellent! We can use a for with the indices or a foreach loopto iterate over the elements of myArray.

Oh noes! We can use a for with the indices or a foreach loopto iterate over the elements of myArray.