File file = new File("C:\\work\\");
file.mkdirs();
new FileOutputStream("C:\\work\\aaa.txt");
FileOutputStream will not automatically create a folder
FileOutputStream will not automatically create a folder
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326237204&siteId=291194637
Recommended
Ranking