Java Serialization fundamentals
In this post, I will introduce the fundamentals of serialization in Java that you need to know. The Serializable interface A class that doesn’t implement the Serializable interface cannot be serialized. In the previous post, you can see that the Car and Engine classes both implement Serializable. The Serializable interface is a marker interface. That … Read more