int tab[] = {1,2,3,4}; for (int i : tab) { systeme.out.println(i); //fct to print with eclipse } //console : 1 2 3 4 //same as for (int i = 0; i++; i < tab.lenght) { systeme.out.println(i); //fct to print with eclipse }