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

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

Showing Answers 1 - 1 of 1 Answers

An object must implement the Serializable or Externalizable interface before it can be written to a stream as an object.
As it is a mechanism with which we can save the state of an object by converting it to a byte stream.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions