Java 创建文件与创建文件夹
创建文件
File file=new File("time_store.properties");
if(!file.exists()){
try {
file.createNewFile();
System.out.println(file);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
创建文件夹
file.mkir.()..
I'm falling off the sky all alone.The courage inside is gonna break the fall. Nothing can dim my light within.
I am That I am
程序 = 数据结构 + 算法