标题: [Oracle interview]When you serialize an object, what happens to the object references included in the object? [打印本页] 作者: 王浩 时间: 2013-8-16 15:45 标题: [Oracle interview]When you serialize an object, what happens to the object references included in the object? 作者: 于郑生 时间: 2013-8-16 15:52
The serialization mechanism generates an object graph for serialization. Thus it determines whether the included object references are serializable or not. This is a recursive process. Thus when an object is serialized, all the included objects are also serialized alongwith the original obect.