67,513
社区成员
发帖
与我相关
我的任务
分享
import java.io.*;
class directory{
public static void main(String[] args){
String path = "e:\\tool ";
File file = new File(path);
if(file.exists()){
System.out.println( "the dir is exits ");
}
else{
file.mkdir();
System.out.println( "have made a dir ! " );
}
}
}