FileOutputStream为false时候注意的问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/dreamzuora/article/details/84976075

今天写代码时候发现,new FileOutputStream(new File(“test.txt”), false)时候test.txt文件内容会清空,记录一下!

猜你喜欢

转载自blog.csdn.net/dreamzuora/article/details/84976075
今日推荐