Java – Scanner 讀取整數(int)緊貼再輸入字串(String)的注意事項 ... import java.util.Scanner. 而我們都會用 nextInt() ... nextLine(); int number=in.nextInt();.
確定! 回上一頁