what is serialization? Where we can use the serialization?

Serialization:

            The serialization is a process of converting the object into a series of bit’s or binary file.

Serialization is required in the fallowing cases:

1 ) writing object to afile

2 ) reading object from the file.

  1. writing object to a network

  2. reading object from the network