Hi folks, I read sun�s I/O tutorial bu i�m yet with some doubts. I understood what is serializable and how to code an serializable class. But I did not understand how it works. Given an example, recognize when, if, and wich constructirs will be called in an object�s inheritance chain durin deserialization. The only thing that i found in this tutorial was too vague.
The readObject method deserializes the next object in the stream and traverses its references to other objects recursively to deserialize all objects that are reachable from it. In this way, it maintains the relationships between the objects.