не проходит по 3 и 4 пункту
package com.javarush.task.task09.task0926;
import java.util.*;
/*
Список из массивов чисел
*/
public class Solution {
public static void main(String[] args) {
ArrayList<int[]> list = createList();
printList(list);
}
public static ArrayList<int[]> createList() {
//напишите тут ваш код
int [] c={4,2,7,81,0};
int [] q={20,30};
int [] w={1,3,5,6};
int [] r={70,60,69,57,11,9,8};
int [] e=new int[0];
ArrayList<int[]> list=new ArrayList<>(Arrays.asList(c,q,w,r,e));
return list;
}
public static void printList(ArrayList<int[]> list) {
for (int[] array : list) {
for (int x : array) {
System.out.println(x);
}
}
}
}