Multiple choice

Which of the following is/are the subclasses of the OutputStream Class?

  1. ObjectOutputStream

  2. PipedOutputStream

  3. ByteOutputStream

  4. Both (1) and (2)

  5. All of the above

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

As explained, both options 1 and 2 are correct. So, this is the correct choice.