Tuesday, November 6, 2007

Serialization

If we want to carry liquid in other city or any where then we must keep it CAN which can can carry it.
Here the liquid is our object of any class and we are we must keep it in file to carry in nay other location then that class must implements the serializable interface which is the markable inteface.
suppose we want to keep some fields not serialize then declare those fields as transient.
It means that field is not available while reading the serialized object from file.

Mangesh S. S. Waghaye,
Nagpur.

No comments: