Multiple choice

Which of the following stream classes is an implementation of the output stream that uses a byte array as its destination?

  1. ByteArrayInputStream

  2. ByteArrayOutputStream

  3. FilteredByteStreams

  4. FileOutputStream

  5. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This stream class is an implementation of an output stream that uses a byte array as its destination.