0Pricing
Java Academy · Lesson

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

  1. Serialization Basics
  2. Simple CSV/JSON Handling
  3. File Walking & Utilities
← Back to Java Academy