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. ObjectInputStreamObjectInputStream is used to deserialize primitive data and objects that were previously written to a stream.

  1. A.

    PrintWriter

  2. B.

    BufferedReader

  3. C.

    FileWriter

  4. D.

    ObjectInputStream

  5. 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.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…