What is the difference between serializing an object and externalizing an object?
Choice 1
Externalizing is used by the
Java compiler to produce raw class files.
Choice 2
Serializing is always faster than externalizing.
Choice 3
Externalizing is older than serializing and is now deprecated.
Choice 4
Externalizing is used to read and write objects to network sockets by implementing the readSocket and writeSocket methods of Externalizable.
Choice 5
Externalizing gives control over the read/write process by implementing the readExternal and writeExternal methods of Externalizable.