Using Streams

Visitors Since Oct. 1997


This chapter explains and gives examples of streams. Streams are data flows in and out of the classes.

Table of Contents


PP Presentation

Course Objective

Definition

Java Understands Many Streams

Uses For Streams

I/O Class Hierarchy

InputStream

OutputStream

Example of Output Stream

Print Stream Example

Output

Example of Input Stream

Overview of Input and Output Streams

Several Major Stream Subtypes

Java.io Also Contains

Java.io File Support

Redirecting PrintStream to a File

Reading and Writing Files

Example of Reading a Line & Printing to Standard Out

List A File

Take Input & Save to File

MenuWindow.java Output



Please Help Use Improve This Tutorial, Click Here To Enter Comments or Suggestions. Thanks
Next Slide Tutorial List Home Page

Copyright © 1997 Object Ideas Corporation - - - Last Updated October 2, 1997