| 1. |
What Are Externizable Interface? |
|
Answer» Use the Externalizable interface when you need complete control over your BEAN's serialization (for example, when WRITING and reading a specific FILE format). To use the Externalizable interface you need to implement two methods: readExternal and writeExternal. Classes that implement Externalizable must have a no-argument CONSTRUCTOR. Use the Externalizable interface when you need complete control over your bean's serialization (for example, when writing and reading a specific file format). To use the Externalizable interface you need to implement two methods: readExternal and writeExternal. Classes that implement Externalizable must have a no-argument constructor. |
|