How many subclasses are there of InputStream Class?
B
Correct answer
Explanation
This is the correct answer. there are 7 subclasses of InputStream class.hese are :-1.) FileInputStream :- for reading bytes from a file.2.) ObjectInputStream :- for readin objects and primitive data types from input stream.3.) SequenceInputStream :- for readin from a sequence of streams.4.) ByteArrayInputStream :- for Stream that reads a byte array.5.) pipedInputStream :- for reading from a piped stream.6.) FilterInputStream :- for filtering input from Existing Stream.7.) StringBufferInputStream:- for readin from a string. These are the 7 subclasses. So this is the correct answer.