What interface must an object implement before it can be written to a stream as an object | Eklavya Online

What interface must an object implement before it can be written to a stream as an object

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