Java Interview Questions
An object must implement the Serializable or Externalizable interface before it can be written to a stream as an object.