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 readin 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.