Question: During deserialization from an I/O stream, which element of the class can be used to assign a value to the deserialized object? A. Variable initializer
During deserialization from an I/O stream, which element of the class can be used to assign a value to the deserialized object?
A. Variable initializer
B. Instance initializer
C. Static initializer
D. Constructor
E. The restoreObject() method
F. None of the above
Step by Step Solution
3.49 Rating (156 Votes )
There are 3 Steps involved in it
The correct option is E The restoreObject method When we are deserializing from an IO stream in Java ... View full answer
Get step-by-step solutions from verified subject matter experts
