Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these is used to read a string from the input stream?
  2. A.
    get()
    B.
    getLine()
    C.
    read()
    D.
    readLine()

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    readLine()


Be The First To Comment