从键盘读取数据,回车才能显示的问题
Writes the specified byte to this stream. If the byte is a newline and automatic flushing is enabled then the flush method will be invoked.
每次read()的时候,write()将数据写到缓冲区,然后等到有换行符出现的时候,一起flush()
Writes the specified byte to this stream. If the byte is a newline and automatic flushing is enabled then the flush method will be invoked.
每次read()的时候,write()将数据写到缓冲区,然后等到有换行符出现的时候,一起flush()