FFIVE
mport java.util.Scannerobject NextTest {@JvmStaticfun main(args: Array<String>) {// TODO Auto-generated method stubval s1: Stringval s2: Stringval sc = Scanner(System.`in`)print("请输入第一个字符串:")s1 = sc.nextLine()print("请输入第二个字符串:")s2 = sc.next()println("输入的字符串是:$s1 $s2")}