1 public class FileDemo01 { 2 public static void main(String[] args) throws IOException { 3 File file=new File("D:/guoguo/jiang.txt"); 4 Boolean mkdir=file.createNewFile(); 5 System.out.println(mkdir); 6 } 7 }
标签:文件,io,创建,mkdir,file,File,public From: https://www.cnblogs.com/guojianglong/p/16622927.html