ADBRITE ads links
You are here: CodeIdol.com > Java > The Java Tutorial Fourth Edition: A Short Course on the Basics > Basic I O
The Java Tutorial Fourth Edition: A Short Course on the Basics
| Chapter 10. Basic I/O
THIS chapter covers the Java platform classes used for basic I/O. It focuses primarily on I/O streams, a powerful concept that greatly simplifies I/O operations. The chapter also looks at serialization, which lets a pro...
|
|
| I/O Streams
An I/O stream represents an input source or an output destination. A stream can represent many different kinds of sources and destinations, including disk files, devices, other programs, and memory arrays.
Streams support many differe...
|
|
| File I/O
So far, this chapter has focused on streams, which provide a simple model for reading and writing data. Streams work with a large variety of data sources and destinations, including disk files. However, streams don't support all the ope...
|
|
| The New I/O Packages
This chapter has mostly talked about the java.io package. This package provides all the I/O features most programmers will ever need. The package implements basic I/O servicesdata streams, random access files, character transl...
|
|
| Summary
The java.io package contains many classes that your programs can use to read and write data. Most of the classes implement sequential access streams. The sequential access streams can be divided into two groups: those that read and write...
|
|
| Questions and Exercises: Basic I/O
Questions
1.What class would you use to read a few pieces of data that are at known positions near the end of a large file?2.In a format call, what's the best way to indicate a new line?3.How would you append ...
|
|
You are here: CodeIdol.com > Java > The Java Tutorial Fourth Edition: A Short Course on the Basics > Basic I O
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|