Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

for each java

int value;
int[] arr = {6, 7, 8};

for (value : arr) {
	System.out.print(val + " ");
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
7+2 =