Thursday 3 May 2012

Streams

"A stream is data that you access in sequence.
You could think of it like a train that you watch from a tunnel entrance so that you can just see one car at a time. Or a stream of widgets coming across a conveyor belt requiring you to tighten a screw on each one before it passes by to the next person down the assembly line who has to pound it with a hammer, and so on. Or sticks floating down a river while you watch from a bridge."

Lesson: Basic I/O Streams

No comments:

Post a Comment