java 输入scanner
摘要:
scanner Scanner scanner = new Scanner(System.in);System.out.println("请输入");String str=scanner.nextLine();//还可以是scanner.next()System.out.println(str); 阅读全文
posted @ 2020-10-24 21:20 bkytian 阅读(513) 评论(0) 推荐(0) 编辑