Multiple choice

How many subclasses of the Reader Class are there in Java?

  1. 9

  2. 8

  3. 7

  4. 6

  5. 5

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

There are 6 subclasses of reader Class in Java. These are:

  1. BufferedReader for buffering other readers
  2. ChararrayReader for reading from char array
  3. FilterReader for reading filter streams
  4. InputStreamReader for reading a character stream
  5. PipedReader for reading from pipe
  6. StringReader for reading from a string So, this is the correct answer.