Posted On: Dec 17, 2020
In Java, serialization is a mechanism to persist java objects in a form of a sequence of bytes that includes the object’s data as well as information about the object’s type and its value. When there is a need to send your data object over a network or to store it in files you can use serialization. In other words, you can say that Serialization is the process for the conversion of an object code into a byte stream. Whereas, Deserialization is the reverse process of serialization, where the byte stream is used to recreate the actual Java object code in memory.
Never Miss an Articles from us.