Murach's Beginning Java 2, SDK 1.4

This chapter introduces you to some of the concepts and terms for working with file input and output. Then, the next two chapters show how to read and write text files and binary files.

Chapter 16 An introduction to file input and output
An introduction to file input and output 530
How files and streams work 530
How to layer streams 532
How to work with I/O exceptions 534
How to work with the File class 536
How to create a File object 536
Methods of the File class 538
Code examples that work with directories and files 540
Perspective 542
t




Murach's Beginning Java 2

Learn more about this book

Add this book to your cart


See the Java 1.5 edition