JAVA 10 IO系统.pptVIP

  • 6
  • 0
  • 约3.49千字
  • 约 14页
  • 2017-11-17 发布于河南
  • 举报
JAVA 10 IO系统

第10章 IO 1-* Stream One dimension one direction A stream is an abstraction derived from sequential input or output devices. An input stream produces a stream of characters; an output stream receives a stream of characters, “one at a time.” Streams apply not just to files, but also to IO devices, Internet streams, and so on. 字节流字符流 区别:based on how you treat the file. 字节流 二进制文件 Compiled programs (for example, Something.class) Image files (for example, something.gif) Music files (for example, something.mp3) 任何文件都可看作是二进制文件 InputStream OutputStream 字符流 字符文件 Any plain-text file, typically named s

文档评论(0)

1亿VIP精品文档

相关文档