(Choose 1 answer)
What interfaces can be implemented in order to create a class that can be serialized?
A. No interfaces need to be implemented. All classes can be serialized.
B. Have the class declare that it implements java.io.Serializable. There are no methods in the interface.
C. Have the class declare that it implements java.io.Serializable, which defines two methods: readObject a writeObject.
D. Have the class declare that it implements java.io.Externalizable, which defines two methods: readObjec and writeObject.
Exit 25