public static void printList(ArrayList<Integer> list) { for (int x : list) System.out.println (x); Что выполняет строка в данном задание?