Is System.out buffered or unbuffered?

后端 未结 3 1570
时光说笑
时光说笑 2020-12-20 20:53

Is System.out buffered or unbuffered?

I read this is an object of InputStream and PrinterStream is the type of object referenc

3条回答
  •  再見小時候
    2020-12-20 21:41

    System.out is the "standard" output. On most operating systems that terminal io is buffered, and paging is supported.

    From the Javadoc,

    The "standard" output stream. This stream is already open and ready to accept output data. Typically this stream corresponds to display output or another output destination specified by the host environment or user.

提交回复
热议问题