Java IO: Serializable

Connect with me: - News

The Serializable interface is a marker interface your classes must implement if they are to be serialized / deserialized, like shown the examples with ObjectInputStream and ObjectOutputStream.

Object serialization is kind of a topic in its own right. This Java IO tutorial is mostly focused on the streams and readers / writers. Therefore I will not get into deeper detail about object serialization at this point. In addition,a lot has already been written online about Java object serialization. Instead of repeating it, I'll give you a few links to deeper explanations of the subject. Here are a few:
Connect with me:
Newsletter - Get all my free tips!