IO流:

输入输出流,就是读写数据的。
IO流的应用场景:

怎么去学习IO流?
1、先搞清楚IO流的分类、体系?
2、再挨个学习每个IO流的作用、用法。
IO流的分类:
按流的方向分为:

按流中数据的最小单位,分为:

IO流总体上来看就有四大流:
字节输入流:把磁盘或网络中的数据以一个个字节的形式写入到内存中。
字节输出流:把内存中的数据以一个个字节的形式写入到磁盘或网络中去。
字符输入流:把磁盘或网络中的数据以一个个字符的形式写入到内存中。
字符输出流:把内存中的数据以一个一个字符的形式写入到磁盘或网络中去。


