Ankit Garg wrote:Since A doesn't implement Serializable so its constructor would run when an instance of B is deserialized.
Also serialization is not a part of SCJP anymore...
Thanks Ankit,
Could you please explain what Serialization and Deserialization has to do with constructor invocation of classes (class and its super class)?