O'Reilly logo

Ivor Horton's Beginning Java™ 2, JDK™ 5th Edition by Ivor Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required