(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 th
C. Have the class declare that it implements java.io.Serializable, which defines two methods writeObject.
D. Have the class declare that it implements java.io.Externalizable, which defines two metho and writeObject.