Contact: aviboots(AT)netvision.net.il
39,855 questions
51,776 answers
573 users
public class MyClass { public static void main(String args[]) { try { int[] arr = {1, 2, 3, 4, 5, 6, 7}; for (int n : arr) { System.out.println(n); } } catch (Exception e) { e.printStackTrace(); } } } /* run: 1 2 3 4 5 6 7 */