For each (foreach) loop also known as enhanced for loop is used to iterate over every item of collections (arrays). The main difference between traditional for and enhanced for loops is that traditional for loop uses integer value and can access indexes. Using indexes we can simply skip some iterations (for example incrementing index variable not by one, but by two, or using other math operations), while using enhanced for loop we are really will iterate over EACH item of collection.