Skip to content

Instantly share code, notes, and snippets.

@thetekst
Created March 3, 2011 13:26
Show Gist options
  • Save thetekst/852756 to your computer and use it in GitHub Desktop.
Save thetekst/852756 to your computer and use it in GitHub Desktop.
Цикл for-each - вывод чисел в массиве
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