Java 23- for each loop
public class App{public static void main(String[] args) {int[] table= new int[]{2,5,7,4,2};for (int tableFor : table) {System.out.print(tableFor); // 2 5 7 4 2}}}
public class App{public static void main(String[] args) {int[] table= new int[]{2,5,7,4,2};for (int tableFor : table) {System.out.print(tableFor); // 2 5 7 4 2}}}
0 تعليقات