(java@oneshot)logo/  logo/  logo/  logo/


 

Java Tutorial » File » Introduction  
11.1.3.Writing Binary DataPrevious/Next

The OutputStream abstract class represents a stream for writing binary data

OutputStream
  |
  +--FileOutputStream
  |
  +--BufferedOutputStream. 
  |
  +--ObjectOutputStream
  1. FileOutputStream provides a convenient way to write to a file.
  2. BufferedOutputStream provides better performance.
  3. ObjectOutputStream class plays an important role in object serialization.
11.1.Introduction
11.1.1. Input Output
11.1.2. Reading Binary Data
11.1.3. Writing Binary Data
11.1.4. OutputStream