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.