java输入输出

来源:互联网 发布:淘宝用流量精灵 编辑:程序博客网 时间:2024/04/18 17:17
try{
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      System.out.print("input ;");
      String s = in.readLine();
      n = Integer.parseInt(s);
    }catch(IOException e){}
原创粉丝点击