The ______ class is used to deserialize objects in Java.
- Deserializer
- InputStream
- ObjectInputStream
- Serialization
In Java, the ObjectInputStream class is used to deserialize objects. Deserialization is the process of converting serialized objects back into their original form, and this class provides methods for reading objects from a stream. The other options are not responsible for deserialization.
Loading...
Related Quiz
- In Java, which of the following statements is true regarding the fall-through behavior in the switch case?
- Which method removes the first occurrence of the specified element from a LinkedList?
- How can you customize the serialization process to handle custom object serialization?
- What is the purpose of serialization in Java?
- What will be the output of the following code snippet: System.out.println(10 + 20 + "Hello" + 30 + 40);?