Course contentsShow
Java
Lesson 1905 of 2,87039. File I/O: Basic Byte StreamsPro lesson

The read() Method: Reading a Single Byte

How read() returns an int (0-255) or -1 for end-of-stream, and why this design was chosen.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.