如何在VS代码中收集用户的输入Java

问题描述:

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

enter image description here

请尝试 哇= in.nextLine();