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
1 Expert Approved Answer
Step: 1 Unlock
The correct option is E The restoreObject method When we are deserializing from an IO stream in Java ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
