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

How Will You Sort Objects by Natural Order in a Java List ?

What is the Difference Between Abstract Class and Interface in Ja ...

What are the Lifecycle Methods of a JSP ?

What is Volatile Keyword in Java ?

What is the Difference Between Throw and Throws in Java ?