January 2016
Intermediate to advanced
508 pages
12h 33m
English
CHAPTER 9
![]()
Java I/O Fundamentals
|
Certification Objectives |
|---|
|
Read and write data from the console |
|
Use BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter in the java.io package |
In this chapter, we’ll introduce you to the fundamentals of Java I/O programming. We’ll cover two topics: how to read and write data from console, and then how to use (file) streams to read and write data.
The support for file manipulation is provided in the java.io and java.nio packages. In the initial part of this chapter, we’ll focus only on the java.io package; later, we’ll ...
Read now
Unlock full access