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 is the Advantage of Using Unicode Characters in Java ?

Why Integer Class in Final in Java ?

Why Do We Use JSP Instead of Servlet in Java ?

Why Do We Use Static Initializers in Java ?

What are the Atomic Operations in Java ?