Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Keypad
- {
- private Scanner input;
- public Keypad()
- {
- input = new Scanner( System.in );
- }
- public int getInput()
- {
- return input.nextInt();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement