go to home page   go to next page        

Created: 03/19/2006

CHAPTER 23 — File I/O with Scanner and PrintStream

This chapter discusses how to use the Scanner class for input from files and how to use the PrintStream class for output to files.

This chapter is optional. Except for chapter 24, disk I/O is not much used again until it is taken up in more detail in chapter 80. However, most interesting programs do some disk I/O, and reading this chapter may enable you to write some of them.

Chapter Topics:

QUESTION 1:

In our past programs, what input stream has been used with Scanner ?