Multiple choice

The stream class can be categorized into how many groups depending upon the data on which they operate?

  1. 5

  2. 4

  3. 3

  4. 2

  5. None of these

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

This is the correct answer. Streams can be used to input and output the data. They are of two types. Byte Stream - for handling binary data. Character Stream - for handling data such as sequence of characters. Thus this is the correct answer.