document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import java.util.Scanner;
  2. /**
  3.  * InputReader class to read the input from user.
  4.  *
  5.  * @author Naufaliando
  6.  * @version 1.0
  7.  */
  8. public class InputReader
  9. {
  10.     private Scanner scan;
  11.     /**
  12.     * Declare scan function
  13.     *
  14.     */
  15.     public InputReader(){
  16.         scan = new Scanner(System.in);
  17.     }
  18.    
  19.     /**
  20.     * Scan input string
  21.     *
  22.     */
  23.     public String getInput(){
  24.         System.out.print("> ");
  25.         String input = scan.nextLine();
  26.         return input;
  27.     }
  28. }
');