In this course, we’ll learn about Java’s Serializable interface and how serialization and deserialization work in Java.
Often, when creating Java applications and working with objects, we find the need to persist them. Specifically, we need to be able to store an object’s state (member fields) in files, in memory, or in a database. Java provides the Serializable interface to do just that.
* Use Java’s Serializable interface
* Handle common serialization Exceptions
* Implement writeObject() and readObject()
Often, when creating Java applications and working with objects, we find the need to persist them. Specifically, we need to be able to store an object’s state (member fields) in files, in memory, or in a database. Java provides the Serializable interface to do just that.
* Use Java’s Serializable interface
* Handle common serialization Exceptions
* Implement writeObject() and readObject()