寫txt文件

java經過代碼寫入txt文件:java   //  方法1:   public void method1() {     FileWriter fw = null;     try {     //若是文件存在,則追加內容;若是文件不存在,則建立文件       File f=new File("E:\\dd.txt");       fw = new FileWriter(f, true);
相關文章
相關標籤/搜索