Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main{
- public static void main(String[] args){
- 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) {
- }
- }}
Add Comment
Please, Sign In to add comment