/**
* 封装输入
* @author Administrator
*
*/
public class BufferedIn {
public static void main(String[] args) throws IOException {
InputStream is=System.in;
BufferedReader br=new BufferedReader(new InputStreamReader(is));
System.out.println("请输入。。。");
String msg=br.readLine();
System.out.println(msg);
}
}
[IO]——封装输入
最新推荐文章于 2024-04-13 20:14:53 发布