Which of these is a method of ObjectInput interface used to deserialize an object from a stream
Ngày đăng:
23/09/2022
Trả lời:
0
Lượt xem:
58
Show
Which of these is a method of ObjectOutput interface used to deserialize an object from a stream?Which of these is method of ObjectOutput interface used to write the object to input or output stream as required? Explanation: writeObject() is used to write an object into invoking stream, it can be input stream or output stream. 7.
Which of these is a method of ObjectInputStream used to deserialize?The ObjectOutputStream class contains writeObject() method for serializing an Object. The ObjectInputStream class contains readObject() method for deserializing an object.
Which of these is an interface for control over serialization and Deserialization Mcq?Explanation : ObjectOutput interface extends the DataOutput interface and supports object serialization.
Is a process of extracting object stream from file stream?1. Which of these is a process of extracting/removing the state of an object from a stream? Explanation: Deserialization is a process by which the data written in the stream can be extracted out from the stream.
|