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

Reading Single Bytes with read()

Learn how InputStream.read() returns an int (0-255) or -1 for EOF, and why it uses int instead of byte.

This lesson is for subscribers

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