For each (or foreach) is a computer language idiom for traversing items in a collection. Foreach is usually used in place of a standard for statement. Unlike other for loop constructs, however, foreach...
what is ForEach Loop in Java programming
what is ForEach Loop in Java programming