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 Did Oracle Release a New Version of Java Like Java 8 ?

Enumeration and Iterator, Which One Has Better Performance in Jav ...

How Will You Implement ApplicationContext in Spring Framework ?

How Can We Reference an Unreferenced Object Again in Java ?

What is Thread Starvation in Java ?