java - Trying to get an input that is only an int and between 1-3 - Stack Overflow
Java Scanner useRadix(int radix) method example
Difference Between next() and hasNext() Method in Java Collections - GeeksforGeeks
Learn Java - Exercise 03x - Use Scanner to Read Keyboard Integers & Double Data Types - Java Programming - Vol 2 - Control Statements - Math Tutor Public Gallery
Java】やっとScannerのhasNextInt()を使った判定方法が理解できた - It's okay to be weird