Multiple choice

How many subclasses of 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.