for loop and for each loop in java code example
Example: java for each
//itemset contains variables of type <Data Type>
for(<Data Type> item : itemset) {
//loop
}
//itemset contains variables of type <Data Type>
for(<Data Type> item : itemset) {
//loop
}