Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these is method of ObjectOutput interface used to write the object to input or output stream as required?
  2. A.
    write()
    B.
    Write()
    C.
    StreamWrite()
    D.
    writeObject()

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    writeObject() is used to write an object into invoking stream, it can be input stream or output stream.


Be The First To Comment