Java Serializable Objects (serialization)

Source: Internet
Author: User

Serializing an object means converting the state of the object to a byte stream, and a byte stream can be reverted to a copy of the object.

If the owning class of a Java object or any of its parent classes implements the interface java.io.Serializable or its subclass java.io.Externalizable, then we call this object serializable.

Deserialization is the process of converting the serialized form of an object back to a copy of an object.

The serialized state of an object can be stored as a file, which can then be read back to the serialized state, that is, deserialized, to get a copy of the object.

Java Serializable Objects (serialization)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.