Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java foreach

List<String> someList = new ArrayList<String>();
// add "monkey", "donkey", "skeleton key" to someList
for (String item : someList) {
    System.out.println(item);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #foreach
ADD COMMENT
Topic
Name
6+1 =