Serialization
- Which of these is a process of extracting/removing the state of an object from a stream?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Deserialization is a process by which the data written in the stream can be extracted out from the stream.
- Which of these process occur automatically by java run time system?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Serialization, deserialization and Memory allocation occur automatically by java run time system.
- Which of these interface extends DataInput interface?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
ObjectInput interface extends the DataInput interface and supports object serialization.
- Which of these is a method of ObjectInput interface used to deserialize an object from a stream?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Object readObject()
- Which of these class extend InputStream class?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
ObjectInputStream class extends the InputStream class and implements the ObjectInput interface.