Scanner in = new Scanner(System.in);. 不過要記得在使用前要import一個: import java.util.Scanner. 而我們都會用 nextInt() 讀取使用者輸入或檔案內容中的整數
確定! 回上一頁