Specifications

Sun Services
Java™ Programming Language
Module 14, slide 4 of 22
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
I/O Fundamentals
•Astream can be thought of as a flow of data from a
source or to a sink.
•Asource stream initiates the flow of data, also called an
input stream.
•Asink stream terminates the flow of data, also called an
output stream.
Sources and sinks are both node streams.
Types of node streams are files, memory, and pipes
between threads or processes.