Mastering Java Serializable Interface with Examples

When and how you should use it

Larry | Peng Yang
Mastering Java

--

Photo by Conny Schneider on Unsplash

Overview

In Java, Serialization is the conversion of the state of an object into a byte stream; deserialization does the opposite. Stated differently, serialization is the conversion of a Java object into a static stream (sequence) of bytes, which we can then save to a database or transfer over…

--

--