What is Externalizable Interface in Java ?

Externalizable interface extends Serializable interface in Java. It is used for giving the Class control over saving and restoring the contents of its instances.

A class implements methods writeExternal() and readExternal() to store and restore the object.



You May Interest

Why Do We Use Static Initializers in Java ?

What is a Singleton Class in Java ?

What is the Difference Between Array and ArrayList in Java ?

How Can We Prevent a Deadlock in Java ?

What is the Advantage of Using Unicode Characters in Java ?