Created
March 3, 2011 13:26
-
-
Save thetekst/852756 to your computer and use it in GitHub Desktop.
Цикл for-each - вывод чисел в массиве
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main{ | |
public static void main( String [] args ) { | |
int[] a = {5, 9, 7}; | |
for(int el: a){ | |
System.out.println(el); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment