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

What are the Different Types of Events Provided by Spring Framewo ...

How Will You Handle InterruptedException in Java ?

When Do You Use Exception or Error in Java ?

What is the Advantage of Using Unicode Characters in Java ?

Why Integer Class in Final in Java ?