Contact: aviboots(AT)netvision.net.il
43,934 questions
57,338 answers
573 users
public class MyClass { public static void main(String args[]) { // In java, for type int, the default value is zero (0) int [] arr = new int[5]; for (int n : arr) { System.out.println(n); } } } /* run: 0 0 0 0 0 */