MCQs
Total Questions : 18
| Page 2 of 2 pages
Answer: Option C. -> PushbachReader
PushbackReader class allows one or more characters to be returned to the input stream. This allows looking ahead in input stream and performing action accordingly.
Answer: Option B. -> flush()
flush()
Answer: Option C. -> CharArrayReader
CharArrayReader is an implementation of an input stream that uses character array as a source. Here array is the input source.
Answer: Option B. -> flush()
flush()
Answer: Option A. -> FileReader
FileReader
Answer: Option B. -> print()
write() and read() are the two main methods of OutputStream & InputStream respectively that are used for printing and reading the byte data.
Answer: Option C. -> Character Stream
InputStream & OutputStream classes under byte stream they are not streams. Character Stream contains all the classes which can work with Unicode.
Answer: Option A. -> read()
read()