String line1 = sc.nextLine();
System.out.println("请输入第二个字符串:");
String line2 = sc.nextLine();
System.out.println(line1);
System.out.print(line2);
int i = sc.nextInt();
System.out.println("请输入第二个字符串:");
String line2 = sc.nextLine();
System.out.println(i);
System.out.print(line2);
|
|