Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these classes can return more than one character to be returned to input stream?
  2. A.
    BufferedReader
    B.
    Bufferedwriter
    C.
    PushbachReader
    D.
    CharArrayReader

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    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.


Be The First To Comment