package com.d04_file.itheima12;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
public class PrintWriterDemo {
public static void main(String[] args) throws IOException {
//字符打印流
PrintWriter pw = new PrintWriter(new FileWriter("src\\com\\d04_file\\itheima12\\aa.txt"),true);
pw.println("nihao nihao");
}
}