Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Keypad.java
- *
- * @author Hafara Firdausi/ 5115100043
- * @version 01
- */
- 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