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

Comparing HashSet and TreeSet Collections in Java

What is the Difference Between Throw and Throws in Java ?

What is the Reason For Overriding equals Method in Java ?

How Does Web Module Work in Spring Framework ?

What is the Reason to Organize Classes and Interfaces in a Packag ...