Home » JAVA Programming » Serialization » Question
  1. Which of these is method of ObjectOutput interface used to write the object to input or output stream as required?
    1. StreamWrite()
    2. writeStream()
    3. Write()
    4. writeObject()
    5. None of these
Correct Option: C

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



Your comments will be displayed only after manual approval.