Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static String consoleInput(String prompt) throws IOException
- {
- if(prompt != null)
- {
- System.out.print(prompt);
- }
- BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
- return br.readLine();
- }
Add Comment
Please, Sign In to add comment