首页 > 代码库 > FILe

FILe

import java.io.*;
class Main{


public static void main(String[] args) throws IOException{

File path=new File("D:\\jlp1\\jlp2");
File file=new File(path,"jlp.java");
path.mkdirs();
file.createNewFile();


System.out.println("It‘s OK.");
}
}