toArray(new String[0]); //2. stream String[] array2 = list.stream().toArray(String[]::new); System.out.println(Arrays.toString(array)); ...
確定! 回上一頁