Multiple choice

Identify the abstraction that either produces or consumes information.

  1. Stream

  2. Package

  3. Class

  4. None of these

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

In Java I/O, a 'Stream' is the abstraction used for a sequence of data that can be produced (output) or consumed (input).