为什么我不能给s2赋值?
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
String s2 = sc.nextLine();
System.out.println(a + " " + s2);
}
}
结果类似于: 10 10