K&B page# 469
But these things do NOT happened when as object is deserialized, When an instance of a serializable class is deserializedthe constructor does not run...
They why following code giving output at the time of deserialization??
output is:
animal
dog
animal <= why its executing Animal class constructor at the time of desrialization???