Answers for "for loop groovy"

1

for loop groovy

List<String> list = new ArrayList<String>();
list.add("A");
list.add("B");
list.add("C");
for (String item : list) {
   System.out.println(item)
}
Posted by: Guest on May-22-2020

Browse Popular Code Answers by Language