Quantcast
Channel: Developer Feed - Serialization
Viewing all articles
Browse latest Browse all 3

How to Serialize Object to File and Read Back?

$
0
0

Serialization Java TutorialObject Serialization is a simple way to store the state of an object into an byte stream. This stream can stored into a file. The reverse is called Object De-Serialization, which is restoring the object to its state by reading the serialized stream. Java provides in built implementation to serialize & de-serialize the object via ObjectOutputStream and ObjectInputStream classes. However for more control on how the object serializes custom Serializer's can be implemented.

read more


Viewing all articles
Browse latest Browse all 3

Trending Articles