Scanner in = new Scanner(System.in);FileWriter out = new FileWriter("systemIn.log");String s;while (!(s = in.nextLine()).equals("Q")){ out.write(s + "\n");}out.flush();out.close();in.close();
7/7 首页 上一页 5 6 7