题目内容
(请给出正确答案)
[单选题]
下面关于IO流的说法正确的是()
A.IO流可以分为字节流和字符流
B.FileReader和FileWriter是专门用于读取和写入文本文件的
C.顶层类有InputStream和OutputStream
D.顶层类有Reader和Writer,他们都是接口
答案
IO 流可以分为字节流和字符流;FileReader 和 FileWriter 是专门用于读取和写入文本文件的;顶层类有 InputStream 和 OutputStream
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)