Which of the following streams is used to deserialize the primitive data and…
2024
Which of the following streams is used to deserialize the primitive data and objects in Java?
Answer: D. ObjectInputStream — ObjectInputStream is used to deserialize primitive data and objects that were previously written to a stream.
- A.
PrintWriter
- B.
BufferedReader
- C.
FileWriter
- D.
ObjectInputStream
- E.
Question not attempted
Attempted by 261 students.
Show answer & explanation
Correct answer: D
ObjectInputStream is used to deserialize primitive data and objects that were previously written to a stream.
Loading lesson…