0
采纳
import java.io.*;
public class Hello {
public static void main(String[] args) throws IOException {
System.out.println("请输入:");
BufferedReader str=new BufferedReader(new InputStreamReader(System.in));
System.out.println("你输入的内容是:"+str.readLine());
}
}