Input, Output, and Java
You are already somewhat familiar with Java I/O through the use of the System.out
object, which you have used to display text information on the screen. This module digs deeper into Java's support for I/O and shows you how to read and write information using special I/O objects called
streams. You will also learn how to use streams to perform I/O on text files.
Module learning objectives
After completing the module, you will have the skills and knowledge necessary to:
- Understand the fundamentals of Java I/O
- Understand the importance of streams
- Read data from a stream
- Write data to a stream
- Work with text files