Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the main purpose of the Externalizable interface?
Think about how serialization differs between Externalizable and Serializable.
Name the two methods you must implement when using Externalizable.
Consider what you need to do for serialization and deserialization.
What must a class implement to allow custom serialization?
Think about which interface provides more control.
True or False: Using Externalizable, all fields in a class must be serialized.
Consider why you might want to skip fields.
Design a custom object in Java that implements Externalizable. Explain how your choice of fields impacts serialization performance.
Contemplate the size and sensitivity of data.
Discuss how you would handle versioning issues when using Externalizable across different versions of an application.
Think about maintaining backward compatibility.
5 more questions in this section. Enroll free to practise them all.
Enroll free