What is externalizable ?

What is externalizable ?

Externalizable is an Interface that extends Serializable Interface. Java provides Externalizable interface that gives you more control over what is being serialized. This interface defines 2 methods: readExternal() and writeExternal() and you have to implement these methods in the class that will be serialized. In these methods you\'ll have to write 
code that reads/writes only the values of the attributes you are interested in.

Date:2015-01-09 00:00:00

Post Your Answers

User Email:

User Name:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher