answersLogoWhite

0

What is Externalizable interface?

Updated: 8/19/2019
User Avatar

Wiki User

11y ago

Best Answer
The Externizable interface extends the serializable interface.When you use Serializable interface, your class is serialized automatically by default. But you can override writeObject() and readObject()two methods to control more complex object serailization process.

When you use Externalizable interface, you have a complete control over your class's serialization process. The two methods to be implemented are :

void readExternal(ObjectInput)

void writeExternal(ObjectOutput)

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is Externalizable interface?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is exteranalizable in java?

Externalizable interface is a subclass of Serializable. Java provides Externalizable interface so as to give you more control over what is being serialized and what is not. Using this interface, you can Serialize only the fields of the class you want serialize and ignore the rest. 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. Programs that perform serialization and deserialization have to write and read these attributes in the same sequence


What are the types of network interface card?

Gigabit Ethernet interface Controller interface Serial interface Multilink Group interface MFR (Multilink Frame Relay bundle interface) Dialer interface Loopback interface Tunnel interface ATM interface


What interface is an interface that uses graphics as compared to a command-driven interface?

Graphical User Interface


What is a tagging interface type?

A tagging interface type in Java is an interface that has not defined methods such as the java.io.Serializable interface.


Does a corsa have an interface on non interface engine?

Does a Chrysler Sebring 2008 have an interface or non interface engine


Is Iterator a class or Interface?

Its an interface.


What is an interface that uses graphics as compared to a command-drive interface?

The interface you are looking for is called a GUI (Graphical User Interface). This interface is supported by all Microsoft Windows Operating System's.


Can interface implement the other interface?

No. An interface cannot implement another interface, it can only just extend it. Because, an interface cannot implement any method as it has no method body declarations.


What interface is extended by AWT event listeners?

The AWTEventListener interface implements the EventListener interface.


What has the author Marcus Tonndorf written?

Marcus Tonndorf has written: 'An interface in an interface in an interface'


When was We Interface created?

We Interface was created in 2004.


What is interface?

Interface is the layout that you see and work on.