How to Serialize Data in Java
As we mentioned in the What is Serialization post, we can use Serialization to move data into or out of a data stream. So let’s take a look at a simple class, and one that we would want to serialize. This is pretty simple, as you’ll see, we’re just going to add an interface to…