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

close vs flush: Automatic Flushing on Close

Learn that closing a BufferedOutputStream automatically flushes, but explicit flush is safer for critical data.

This lesson is for subscribers

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