What is the difference between Serializalble and Externalizable interface?
Page 1 of 1
What is the difference between Serializalble and Externalizable interface?
Serializable is a marker interface but Externalizable is not a marker 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.
Similar topics
» What is Externalizable?
» What is nested interface ?
» Can a class have an interface?
» Can an Interface have a class?
» What does the JDBC Connection interface?
» What is nested interface ?
» Can a class have an interface?
» Can an Interface have a class?
» What does the JDBC Connection interface?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|