Sail E0 Webinar
Question
Which of these is method of ObjectOutput interface used to write the object to input or output stream as required?
Options:
A .  write()
B .  Write()
C .  StreamWrite()
D .  writeObject()
Answer: Option D


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



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers