??? try {
??????? BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
??????? String str = "";
??????? while (str != null) {
??????????? System.out.print("> prompt ");
??????????? str = in.readLine();
??????????? process(str);
??????? }
??? } catch (IOException e) {
??? }
|----------------------------------------------------------------------------------------|
版權聲明 版權所有 @zhyiwww
引用請注明來源 http://www.tkk7.com/zhyiwww
|----------------------------------------------------------------------------------------|
posted on 2006-06-13 12:03
zhyiwww 閱讀(360)
評論(0) 編輯 收藏 所屬分類:
code demo -java