groovy list for loop code example
Example 1: for loop groovy
List list = new ArrayList();
list.add("A");
list.add("B");
list.add("C");
for (String item : list) {
System.out.println(item)
}
Example 2: groovy list for loop
groovy list for loop sample