Converting the state of an object into a byte stream. Serializability of a class is enabled by the class implementing the java.io.Serializable interface.