上面还有句话Scanner in = new Scanner(System.in);int a = in.nextInt();//输入数字赋值给a或者String s = in.nextLine();//输入一串字符,把他给s都是从控制台输入东西 回车结束