Home  >  Q&A  >  body text

java - IO流:怎么正确理解FileInputStream类 和 FileInputStream类的对象

PHPzPHPz2743 days ago854

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-18 10:54:34

    I think the File class is a bucket, and the file object is the red bucket.
    The FileInputStream class is a pipe for a bucket, and the fileInputStream object is a pipe with a radius of 10cm.
    As for which bucket the pipe fills with water, we don’t know, and we don’t need to know.

    reply
    0
  • Cancelreply