Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 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