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 ListIterator Has add Method But Iterator Does Not Have in Jav ...

How Will You Implement ApplicationContext in Spring Framework ?

What are the Disadvantages of Multithreading in Java ?

What is Difference Between Include Directive and Include Action o ...

Why Collection Interface Doesn’t Extend Cloneable and Serializabl ...