Externalizable for apartments
Implement the Externalizable interface in the Apartment class.
The OutputToConsole class must be serialized using the Externalizable interface. Find and fix the bug.
The Person class must be serialized using the Externalizable interface. Correct the serialization bug. Don't change the method signatures.
Serialize the Solution class. Think about which fields you don't need to serialize. Mark the unnecessary fields with the transient modifier. The object must always contain up-to-date summary data. The main method is not tested. Write the verification code yourself in the main method: 1) create a fi
Make it so that the runner thread continues to run after deserialization. Don't change the runner object's keywords. Hint: The constructor is not called during deserialization. Only all the fields are initialized.