Skip to Main Content
Java
book

Java

by Michael Sikora
January 2003
Beginner to intermediate content levelBeginner to intermediate
150 pages
7h 28m
English
Morgan Kaufmann
Content preview from Java
86
Chapter 7: Input/Output I
we output to the standard output, java.lang. System.out. This is not actually an OutputStream
object but a PrintStream object (PrintStream being a subclass of OutputStream). So we can use
one of the overloaded print methods of the PrintStream class to print out b, having first cast
it to a character.
7.2 FileReader and FileWriter Streams
FileReader and YileWriter are character streams, belonging to the Reader and Writer hierar-
chies, that are specialized for performing file input and output. These streams handle 16-bit
Unicode characters, and so would normally be used when handling files containing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JAVA Programming

JAVA Programming

K. Rajkumar
Java Programming

Java Programming

Hari Mohan Pandey
Java Programming

Java Programming

Poornachandra Sarang
Java 9 for Programmers

Java 9 for Programmers

Paul J. Deitel, Harvey Deitel

Publisher Resources

ISBN: 9781558609099