摘要:
Scanner 我们可以通过Scanner类来获取用户的输入。 基本语法: Scanner s = new Scanner(System.in); 通过Scanner类的next()和nextLine()方法获取输入的字符串,在读取前我们一般需要使用hasNext()与hasNextLine()判断 阅读全文
posted @ 2021-02-28 00:42
清风Brz
阅读(25)
评论(0)
推荐(0)
2021年2月28日