Kotlin uses java.util.Scanner class to scan user inputs. To read a string, nextLine() method is used. Similarly, it has methods like nextInt() ...
確定! 回上一頁