Answer:
The main purpose of using serialization and deserialization is to transfer the data in a linear form over a network.
The advantage of using serialization is the ability of an object to be serialized into a persistent or a non-persistent storage media and then reconstructing the same object later by de-serializing the object. The Binary Serialization is faster, which supports complex objects with read only properties and even circular references.
Asked In: Many Interviews |
Alert Moderator