public class KeyInput{
Scanner s=new Scanner(System.in);//创建一个扫描器的对象 s引用指向它。
String str=s.next();
System.out.println(str);
}
转载于:https://blog.51cto.com/hangtiangazi/1661776
public class KeyInput{
Scanner s=new Scanner(System.in);//创建一个扫描器的对象 s引用指向它。
String str=s.next();
System.out.println(str);
}
转载于:https://blog.51cto.com/hangtiangazi/1661776