December 2014
Beginner
864 pages
24h 5m
English
This chapter covers the Java platform classes used for basic input/output (I/O). It first focuses on I/O streams, a powerful concept that greatly simplifies I/O operations. The chapter also looks at serialization, which lets a program write whole objects out to streams and read them back again. Then the chapter looks at file I/O and file system operations, including random access files. Most of the classes covered in the “I/O streams” section are in the java.io package. Most of the classes covered in the “File I/O” section are in the java.nio.file package.
An I/O stream represents an input source or an output ...
Read now
Unlock full access