-
Which of these is method of ObjectOutput interface used to write the object to input or output stream as required?
-
- StreamWrite()
- writeStream()
- Write()
- writeObject()
- None of these
Correct Option: C
writeObject() is used to write an object into invoking stream, it can be input stream or output stream.