This example shows how to serialize a subclass whose superclass is not serializable.
When a superclass of a particular subclass is not serializable, the subclass must save and restore the state of the superclass.