如何在VS代码中收集用户的输入Java
问题描述:
因此,当我运行此代码时,没有任何内容打印到“输出”屏幕上。虽然当我除去Scanner in = new Scanner(System.in);
和String wow = in.next();
,它打印输出wow
如何在VS代码中收集用户的输入Java
答
请尝试 哇= in.nextLine();