foreach loop in Java

The syntax of the Java foreach loop is:
```
for(dataType item : array) {
    ...
}
```
Here,
* array - an array or a collection
* item - each item of array/collection is assigned to this variable
* dataType - the data type of the array/collection