coderz.py

Keep Coding Keep Cheering!

Serialization and Deserialization in Java

An object’s state can be transformed into a byte stream through a process known as serialization. Deserialization is the opposite procedure, in which the actual Java object is recreated in memory using a byte stream. This mechanism is used to persist the object. We use the writeObject() function of the ObjectOutputStream class to serialize the […]

July 16, 2022 | Java | No comments

Advertisement