Shashi Kant wrote:hello Sirisha
Static variables are NEVER saved as part of the object's state, because they do not belong to the object.
Static variables are not part of the instance's state at all, static variables are purely CLASS variables. They have nothing to do with individual instances. serialization applies only to OBJECTS.
this is possible by providing the following two methods in our class
as shown below. writeObject(),readObject().
ok baye...