next()方法不可以接收 字符串中的空格
例如:
nextLine()方法可以接收字符串中的空格

论java Scanner 类中的next()方法和nextLine()方法的区别
最新推荐文章于 2025-03-16 17:13:19 发布