Use hasNextInt[^] of the Scanner class. An example Java.util.Scanner.hasNextInt() Method Example[^].
確定! 回上一頁