Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Detailed description of java io stream
Detailed description of java io stream
I think the landlord thinks too much. ...

It's easy to remember iostream ... I wrote this when I was studying in iostream:

Input stream: Yes, read (from file or system)

Output stream: Yes, write (to file or memory).

What do you think of this?

Easy to understand, right? Conversely, understanding is convenient and practical. ....

Hmm. How interesting ....

I wish you an early success!

OutputStream is an output stream ... its method write () is of course to write the parameters in brackets to the specified file! That's right!

The function write(int b) means to write an integer b to the specified file.

If you still don't understand anything ... please contact me. ...