SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Performing Input and Output Operations Using the Java I/O API

Java I/O Streams: Console and File Readers, Writers and Streams (1Z0-831)

17 min read1Z0-831 · Performing Input and Output Operations Using the Java I/O APIUpdated

Java I/O streams are the java.io classes that read and write data sequentially — byte streams (InputStream and OutputStream) for raw bytes and character streams (Reader and Writer) for text — and Oracle 1Z0-831 objective 9.1 asks you to use them to read and write console and file data. This lesson covers the two stream families and how to bridge them, what each read method returns at end of stream, how wrapping, buffering, flushing and closing decide what actually reaches a file, truncate versus append, which calls throw IOException, binary data streams, charsets, and console input and output through System.in/out/err, Console and Java 25's java.lang.IO.

You’ve read your 2 free 1Z0-831 lessons

Sign up free to read 48 more lessons — your progress is saved.

Source

This lesson covers the "Performing Input and Output Operations Using the Java I/O API" domain of the official 1Z0-831 exam guide. Vendors revise their guides — check the source for the current version.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?