33. Match the interface and/or class name with the correct description. i. Obiec
ID: 3715429 • Letter: 3
Question
33. Match the interface and/or class name with the correct description.
i. ObiectlnputStream
ii. Object OutputStream
iii. ObjectInput
vi. ObjectOutput
a. An interface in Java that when implemented provides a readObject() method that reads an object from a file.
b. Class representing the output stream used for object serialization in Java when writing an object to a file.
c. An interface in Java that when implemented provides a writeObject() method that writes an object to a file.
d. Class representing the input stream used for object serialization in Java when writing an object to a file.
Explanation / Answer
a. An interface in Java that when implemented provides a readObject() method that reads an object from a file.
Answer:ObjectInputStream
b. Class representing the output stream used for object serialization in Java when writing an object to a file.
Answer: ObjectOutput
c. An interface in Java that when implemented provides a writeObject() method that writes an object to a file.
Answer:Object OutputStream
d. Class representing the input stream used for object serialization in Java when writing an object to a file.
Answer:ObjectInput
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.