日期:2014-05-20 浏览次数:20642 次
Scanner s = new Scanner(System.in); String userInput; while(s.hasNext()) { userInput = s.next(); out.println(userInput); System.out.println(br1.readLine()); if(userInput == "End") { break; } }