System.out.ptintln();
我想知道这句各部分的含义 System是类,println()是方法。那in是什么呢?

解决方案 »

  1.   

    System.out是标准的输出流print是这个的方法
    System.in是标准的输入流~
      

  2.   

    看文档就很清楚了
    in是System类的一个静态域 已经打开并且准备提供输入数据in
    public static final InputStream in
    The "standard" input stream. This stream is already open and ready to supply input data. Typically this stream corresponds to keyboard input or another input source specified by the host environment or user. 
      

  3.   

    System.in是java的标准输入流,System.out是java的标准输出流
      

  4.   

      public final static InputStream in = nullInputStream();
      

  5.   

    说白了,我就是对JAVA的输入流,输出流理解不透彻,想理解透彻。平时写语句的时候都这么写,可是真正要我说出数据是怎么处理的还真不清楚。