الرجوع
تسجيل الدخول

What is the output after executing the following program:

public class ArrayClass {
    public static void main(String[] args) {
        int[][] numbers = {
            {1,2,3},
            {3,2,1},
        };
        for (int i = 0; i < numbers.length; i++) {
            for (int j = 0; j < numbers[0].length; j++) {
                if (i < 2)
                    break;
                else
                    System.out.print("," + numbers[i][j]);
            }
        }
    }
}