for (Integer element : array) System.out.printf("%s ", element);. System.out.println();. } public static void printArray(Double[] array) {.
確定! 回上一頁