코드가 하는 일을 읽고, 가려진 빈칸에 직접 이름을 지어 넣으세요. 빈칸 폭이 원본 이름의 글자 수입니다.
1public static void (File file) throws IOException { 2 checkNotNull(file); 3 File parent = file.getCanonicalFile().getParentFile(); 4 if (parent == null) { 5 6 return; 7 } 8 parent.mkdirs(); 9 if (!parent.isDirectory()) { 10 throw new IOException("Unable to create parent directories of " + file); 11 } 12}