Serialization Basics
Understand the basics of Java serialization: Serializable interface, ObjectOutputStream, and ObjectInputStream.
Intro
Serialization means saving an object's state to a file (or stream) and restoring it later. It is often used for persistence or sending objects.
Serializable interface
A class must implement java.io.Serializable to allow its objects to be serialized. This is a marker interface with no methods.
All lessons in this course
- Serialization Basics
- Simple CSV/JSON Handling
- File Walking & Utilities