posted 15 years ago
Hi,
Question given is which of four statements are true, where the only one specified to be so reads:
"When an object is serialized, if it has references to other objects, those objects must be serializable."
This is not true if the instance variables establishing the references are declared as transient.
To be correct, he statement could be changed to e.g.
"When an object is serialized, if it has non-transient references to other objects, those objects must be serializable.".
Or am I misinterpreting something here?
Regards,
Erik