Can anybody explain me why this is going to work. What I mean is Serializable is applicable here
but Serializable is not applicable here
The reason I am assuming is that all the array of objects are initialized to null and hence serialization applies here.
and if we change the above program as
It is serializable.I am having hard time in understanding these things.
I have followed this forum
http://javapapers.com/core-java/object-construction-in-serialization/
Can any one correct/rectify me if my understanding is wrong.