What is the purpose of implementing the Serializable interface in a Java class?
Serializable
To make the class compatible with generic data structures
To enable the class to perform complex mathematical operations
To allow instances of the class to be written to a binary stream
To ensure the class can only contain primitive data types