Guest User

Untitled

a guest
Dec 13th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.32 KB | None | 0 0
  1. public class Main{
  2. public static void main(String[] args){
  3. try {
  4.     BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
  5.     String str = "";
  6.     while (str != null) {
  7.         System.out.print("> prompt ");
  8.         str = in.readLine();
  9.         process(str);
  10.     }
  11. } catch (IOException e) {
  12. }
  13. }}
Add Comment
Please, Sign In to add comment