Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/Make-directory-path/Java/make-directory-path.java
Normal file
14
Task/Make-directory-path/Java/make-directory-path.java
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import java.io.File;
|
||||
|
||||
public interface Test {
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
File f = new File("C:/parent/test");
|
||||
if (f.mkdirs())
|
||||
System.out.println("path successfully created");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue