Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

For Each Loop

String[] fruits = {"apples", "oranges", "pears", "plums"}
for (String i:fruits)
{
System.out.print(i);
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #For #Each #Loop
ADD COMMENT
Topic
Name
6+9 =