- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is Externalizable in Java?
Externalization is used whenever we need to customize serialization mechanism. If a class implements an Externalizable interface then, object serialization will be done using writeExternal() method.
Whereas at receiver’s end when an Externalizable object is a reconstructed instance will be created using no argument constructor and then the readExternal() method is called.
If a class implements only Serializable interface object serialization will be done using ObjectoutputStream.
At the receiver’s end, the serializable object is reconstructed using ObjectInputStream.
- Externalizable Interface in Java
- What is the difference between Externalizable and Serializable interfaces in Java?
- What is Java?
- What is aggregation in Java?
- What is binding in Java?
- What is encapsulation in Java?
- What is autoboxing in Java?
- What is Serialization in Java?
- What is Deserialization in Java?
- What is concurrency in Java?
- What is Overloading in Java?
- What is System.exit() in Java?
- What is ARM in Java?
- What is ArrayIndexOutOfBoundsException in Java?
- What is StringIndexOutOfBoundsException in Java?