O'Reilly logo

Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams by Jamie Jaworski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The java.io Class Hierarchy

Figure 15.1 identifies the java.io class hierarchy. As described in the previous section, the InputStream, OutputStream, Reader, and Writer classes are the major components of this hierarchy. Other high-level classes include the File, FileDescriptor, RandomAccessFile, ObjectStreamClass, and StreamTokenizer classes.

Figure 15.1. The classes of the java.io hierarchy.

The InputStream and OutputStream classes have complementary subclasses. For example, both have subclasses for performing I/O via memory buffers, files, and pipes. The InputStream subclasses perform the input, and the OutputStream classes perform the output. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required