Chapter 8. Understanding Streams
This is the first of four chapters devoted to streams and file input and output. This chapter introduces streams, and deals with keyboard input, and output to the command line.
By the end of this chapter, you will have learned:
What a stream is and what the main classes that Java provides to support stream operations are
What stream readers and writers are and what they are used for
How to read data from the keyboard
How to format data that you write to the command line
Get Ivor Horton's Beginning Java™ 2, JDK™ 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.