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 Tag Library in JSP ?

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

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

Replacing Hashtable With ConcurrentHashMap in Java

What are the Advantages of Multithreading in Java ?