Discussion Forum : Introduction To Methods And Streams
Question -

Which of these classes can return more than one character to be returned to input stream?

Options:
A .  BufferedReader
B .  Bufferedwriter
C .  PushbachReader
D .  CharArrayReader
Answer: Option C

 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.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *