12
Opgave
Java Core,  niveaulektie
Låst
Externalizable for apartments
Implement the Externalizable interface in the Apartment class.
6
Opgave
Java Core,  niveaulektie
Låst
OutputToConsole
The OutputToConsole class must be serialized using the Externalizable interface. Find and fix the bug.
12
Opgave
Java Core,  niveaulektie
Låst
Externalizable Person
The Person class must be serialized using the Externalizable interface. Correct the serialization bug. Don't change the method signatures.
12
Opgave
Java Core,  niveaulektie
Låst
Serializable Solution
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
6
Opgave
Java Core,  niveaulektie
Låst
Overriding serialization
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.