Strictly speaking, deserialization does not create a new Object. It simply restores a previously created object from a serialized state.
This can be accomplished using an ObjectInputStream. Have a look at the API documentation, it should contain a very simple example of how to go about the deserialization process.
If you would like to know more about object serialization / deserialization, you could check out the java tutorial and this article.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Joined: Oct 04, 2006
Thanks for your good reply..There is some post in internet where i read it and someone expecting to know how it is working internally.
the above code is does the de-serilzation process. right ?