PrintWriter out=new PrintWriter(new FileWriter("question.txt")); out.println("1 小龙女的徒弟是谁?");将文件写到外部磁盘上文件 输出流