First page Back Continue Last page Summary Graphics
Understanding the I/O (cont)
All of the streams
readers, writers, input streams, and output streams
--are automatically opened when created. You can close any stream explicitly by calling its close method.
Or the garbage collector can implicitly close it, which occurs when the object is no longer referenced.
Notes: