Introduction

The capability to perform input and output is key to saving and reusing a program's results. Because input and output are fundamental to programming, you might see a few exam questions related to the java.io package. In this chapter, you will learn to use Java streams to perform sophisticated input and output, using standard I/O, memory buffers, and files. You will explore the input and output class hierarchy and learn to use stream filters to simplify I/O processing. You will also learn how to perform random-access I/O and access character encodings. By studying the class descriptions of this chapter and working the programming examples, you should be able to do well on related exam questions.

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.