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?
- A.
PrintWriter
- B.
BufferedReader
- C.
FileWriter
- D.
ObjectInputStream
- E.
Question not attempted
Attempted by 77 students.
Show answer & explanation
Correct answer: D
ObjectInputStream is used to deserialize primitive data and objects that were previously written to a stream.