Advertisement
raffi_pratama

Untitled

Nov 9th, 2020
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. /**
  2. * The Input Reader class is to get Input String.
  3. *
  4. *
  5. * @author (Raffi Pratama)
  6. * @version (09-11-2020)
  7. */
  8.  import java.util.Scanner;  
  9.  public class InputReader  
  10.  {  
  11.    String kata;  
  12.    public String getInput()  
  13.    {  
  14.      Scanner sc = new Scanner(System.in);  
  15.      kata = sc.nextLine();  
  16.      return kata;  
  17.    }  
  18.  }  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement